modf
Splitting into whole and fractional parts.
func double modf (
double x,
uint y
)
double x,
uint y
)
Parameters
x | Floating-point value. |
y | A pointer to double for getting the whole part. |
Return value
The fractional part of x.
Related links | Source |