Deprecated. Decimal See the following for more details on certain limitations: http://social.msdn.microsoft.com/Forums/en/adodotnetdataservices/thread/832edcc7-d6ef-4551-bc81-98efb15d9ac0 XMLSCHEME2: http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#decimal SDM Library limitations since it uses NSDecimalNumber: An instance can represent any number that can be expressed as mantissa x 10^exponent where mantissa is a decimal integer up to 38 digits long, and exponent is an integer from –128 through 127.
All members of SDMODataPropertyValueDecimal, including inherited members.
MethodsMethod | Description |
---|---|
- (NSDecimalNumber *) getDecimalValue | |
- (void) setDecimalValue: (NSDecimalNumber *) newValue |
Member | Description |
---|---|
- (NSString *const) getDefaultValue | Returns the default value of the given EDM type. |
- (NSString *const) getHTMLEncodedValue | Returns the HTML encoded value of the stored value. |
- (id) initWithPropertyInfo: (const SDMODataPropertyInfo *const) propInfo | |
- (id) initWithPropertyInfo: (const SDMODataPropertyInfo *const) propInfo andValue: (NSString *const) initialValue | |
- (BOOL) isValid | Checks if the object stores a valid value. |
That means Precision and Scale attributes are limited to 38. That is because Precision is defined as: "a positive integer that specifies the maximum number of decimal digits that an instance of the decimal type can have, both to the left and to the right of the decimal point.