Float.Parts
Returns the fractional part and the whole (i.e., integer) part. For example, modf (-3.14) returns { fractional = -0.14; integral = -3.; }!
modf (-3.14)
{ fractional = -0.14; integral = -3.; }
type t
val fractional : t -> float
val integral : t -> float