Share via


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

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.

See Also

Reference

AxdBaseRead Class