Click or drag to resize

MathUtilsFractionalDigits Method

Gets the number of digits in the fractional portion of the specified decimal value, ignoring trailing zeros.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static int FractionalDigits(
	decimal d
)

Parameters

d
Type: SystemDecimal
The value in question.

Return Value

Type: Int32
The number of digits in the fractional portion of the provided value.
See Also