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.
Currency_GetNumberOfDecimals(multiformat_value)
• multiformat_value – An integer value that was assigned to the currency format you are inquiring about.
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.
This function ignores the currency format applied to the currency field’s data type, should one exist.