xInfo::getNumberOfDecimals Method

Retrieves the number of decimal places in the specified number.

Syntax

client server public static int getNumberOfDecimals(real number)

Run On

ClientOrServer

Parameters

  • number
    Type: real
    A real number.

Return Value

Type: int
The number of decimal places in the number parameter.

See Also

Reference

xInfo Class