Jaa


xInfo.getNumberOfDecimals(Decimal) Method

Definition

Retrieves the number of decimal places in the specified number.

public:
 static int getNumberOfDecimals(System::Decimal _number);
public static int getNumberOfDecimals (decimal _number);
static member getNumberOfDecimals : decimal -> int
Public Shared Function getNumberOfDecimals (_number As Decimal) As Integer

Parameters

_number
Decimal

A real number.

Returns

The number of decimal places in the number parameter.

Applies to