frac()

Gets the fractional part of a number, removing the integral part.

This function is valid in v2.0.0 to v2.14.0. This function has been downloaded 48 times.

Parameter

{number} num
The number from which the fractional part will be pulled.

Returns

{number}
Returns num without the integral part while keeping the sign.