ConvertDecimalPlacesNumber(Decimal, Int32) Method

Get the number of decimal places of a value.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static int DecimalPlacesNumber(
	decimal value,
	int maxDecimals = 10
)

Parameters

value  Decimal
Value to get the number of decimal places.
maxDecimals  Int32  (Optional)
Max decimals.

Return Value

Int32
Int32 with the number of decimal places of a value.

See Also