AxdBaseRead::getNoOfDecimals Method [AX 2012]
Retrieves the number of decimals of a property.
Syntax
server public static int getNoOfDecimals(Types _types, [ExtendedTypeId _extendedTypeId])
Run On
Server
Parameters
- _types
Type: Types Enumeration
The base type of property.
- _extendedTypeId
Type: ExtendedTypeId Extended Data Type
The extended type ID of the property; optional.
Return Value
Type: int
The number of decimals.
Remarks
If the _types parameter has a value of real and the _extendedTypeId parameter has a value of zero, then the value in the #defaultNoOfDecimals macro from macro library #axd is returned.