共用方式為


SignificantDigitsNumberRounder.RoundingAlgorithm 屬性

定義

取得或設定這個 SignificantDigitsNumberRounder 物件的四捨五入策略值。

public:
 property RoundingAlgorithm RoundingAlgorithm { RoundingAlgorithm get(); void set(RoundingAlgorithm value); };
RoundingAlgorithm RoundingAlgorithm();

void RoundingAlgorithm(RoundingAlgorithm value);
public RoundingAlgorithm RoundingAlgorithm { get; set; }
var roundingAlgorithm = significantDigitsNumberRounder.roundingAlgorithm;
significantDigitsNumberRounder.roundingAlgorithm = roundingAlgorithm;
Public Property RoundingAlgorithm As RoundingAlgorithm

屬性值

RoundingAlgorithm列舉的值。

備註

這個屬性會初始化為 RoundingAlgorithm.RoundHalfUp的預設值。

適用於