次の方法で共有


MoneyAttributeMetadata.PrecisionSource Property

Definition

Gets or sets the precision source for the attribute.

public:
 property Nullable<int> PrecisionSource { Nullable<int> get(); void set(Nullable<int> value); };
[System.Runtime.Serialization.DataMember]
public int? PrecisionSource { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.PrecisionSource : Nullable<int> with get, set
Public Property PrecisionSource As Nullable(Of Integer)

Property Value

The precision source for the attribute.

Attributes

Remarks

If this property is not assigned a value, it defaults to 2.

For most money fields the precision comes from the Precision property. However, for money fields related to price, the precision come from the organization.pricingdecimalprecision. For money fields which use another currency the TransactionCurrency. CurrencyPrecision may be used.

Valid values for this property are:

ValueDescription

0

Precision specified in the MoneyAttributeMetadata. Precision property should be used.

1

Precision specified in Organization. PricingDecimalPrecision attribute should be used.

2

Precision specified in the TransactionCurrency. CurrencyPrecision property of the transaction currency that is associated the current record.

Applies to