info prev up next book cdrom email home

Fractional Part


The function giving the fractional (nonintegral) part of a number and defined as

\mathop{\rm frac}(x)\equiv\cases{
...\geq 0$\cr
x-\left\lfloor{x}\right\rfloor -1 & $x\leq 0$,\cr}

where $\left\lfloor{x}\right\rfloor $ is the Floor Function.

See also Ceiling Function, Floor Function, Nint, Round, Truncate, Whole Number


Spanier, J. and Oldham, K. B. ``The Integer-Value Int($x$) and Fractional-Value frac($x$) Functions.'' Ch. 9 in An Atlas of Functions. Washington, DC: Hemisphere, pp. 71-78, 1987.

© 1996-9 Eric W. Weisstein