Returns the fractional part of a number.
The number to extract the fractional part from.
The fractional part of the number.
fracPart(-4.6); // Returns 0.6 fracPart(10.5); // Returns 0.5 Copy
fracPart(-4.6); // Returns 0.6 fracPart(10.5); // Returns 0.5
Generated using TypeDoc
Returns the fractional part of a number.