MoneyAttributeMetadata.PrecisionSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
Value | Description |
---|---|
0 | Precision specified in the MoneyAttributeMetadata. Precision property should be used. |
1 | Precision specified in |
2 | Precision specified in the |