njRoundUp Japanese
<-|INDEX|->
Rounds up the decimal fraction.

FORMAT

#include <Ninja.h> 
Float njRoundUp( n )
Float n

PARAMETERS


RETURN VALUE

Integer resulting from rounding up

FUNCTION


EXAMPLE

y1 = njRoundUp( 2.8f );
y2 = njRoundUp( -2.8f );
% Result %
y1 = 3.000000
y2 = -3.000000

NOTES


RELATED TOPICS

njCeil
njFloor
njRoundOff

njRoundUp
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997