Currency_GetNumberOfDecimals()

Examples


The Currency_GetNumberOfDecimals() function returns the number of digits that will appear to the right of a currency value’s decimal separator when the specified multiformat value is applied to a currency field.

Syntax

Currency_GetNumberOfDecimals(multiformat_value)

Parameters

multiformat_value An integer value that was assigned to the currency format you are inquiring about.

Return value

Integer. If the number of decimal digits for use with the specified multiformat value hasn’t been defined using the function Currency_SetNumberOfDecimals(), the operating system’s default for currency field decimal places will be used.

Comments

This function ignores the currency format applied to the currency field’s data type, should one exist.


Documentation Feedback