xInfo.getNumberOfDecimals(Decimal) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.