ConvertDecimalPlacesNumber(Decimal, Int32) Method
Get the number of decimal places of a value.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static int DecimalPlacesNumber(
decimal value,
int maxDecimals = 10
)
Public Shared Function DecimalPlacesNumber (
value As Decimal,
Optional maxDecimals As Integer = 10
) As Integer
- value Decimal
- Value to get the number of decimal places.
- maxDecimals Int32 (Optional)
- Max decimals.
Int32Int32 with the number of decimal places of a value.