The definition of the Scale facet as the maximum number of digits right of the decimal point implies that there may be less digits to the right and consequently more digits to the left of the decimal point (up to the value of the Precision facet), so the decimal point is allowed to float within the given Precision.
Field | Original Value | New Value |
---|---|---|
Proposal | Make explicit. | Make explicit; give direction (see comment) |
Assignee | Michael Pizzo [ mikep ] | |
Environment | [Proposed] | |
Status | New [ 10000 ] | Open [ 1 ] |
Proposal | Make explicit; give direction (see comment) |
Proposal | Add a new (optional) Boolean attribute to decimal, "VariableScale", with a default of false. If false or missing, the client MUST assume that the property can only support fixed precision. | |
Environment | [Proposed] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Proposal | Add a new (optional) Boolean attribute to decimal, "VariableScale", with a default of false. If false or missing, the client MUST assume that the property can only support fixed precision. |
Add a new (optional) Boolean attribute to decimal, "VariableScale", with a default of false. If false or missing, the client MUST assume that the property can only support fixed precision. Accepted: https://www.oasis-open.org/committees/download.php/48346/odata-meeting-26_on-20130221-minutes.html#odata-76 |
Assignee | Michael Pizzo [ mikep ] | Ralf Handl [ ralfhandl ] |
Reporter | Ralf Handl [ ralfhandl ] | Ralf Handl [ handl ] |
Assignee | Ralf Handl [ ralfhandl ] | Ralf Handl [ handl ] |
Unfortunately, not all implementations of Decimal will be floating precision. The best we can do is to say that the data type MAY be floating precision, but that clients SHOULD NOT assume that to be the case. We can add an annotation for specifying whether or not a particular usage of decimal is fixed or floating precision.