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
)
Public Shared Function FractionalDigits (
d As Decimal
) As Integer
Parameters
- d
- Type: SystemDecimal
The value in question.
Return Value
Type:
Int32The number of digits in the fractional portion of the provided value.
See Also