##### Ninja Library - Mathematical Function

# njRoundUp

Rounds up the decimal fraction

### FORMAT

`

  Float njRoundUp( n )
  Float n

`

### PARAMETER

  `n` | Arbitrary real number

### RETURN

  Integer resulting from rounding up

### DESCRIPTION

  Rounds up the decimal fraction of arbitrary real number n and returns the integer portion as the result.

### EXAMPLE

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

### REFERENCE

  `njCeil()
  njFloor()
  njRoundOff()
  `

njRoundUp

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999