njRoundOff | Japanese
    <-|INDEX|->
Rounds down the decimal fraction.

### FORMAT

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

### PARAMETERS

n
  arbitrary real number

### RETURN VALUE

  Integer resulting from rounding down

### FUNCTION

- Truncates the decimal portion of arbitrary real number n and returns the integer portion as the result.

### EXAMPLE

      y1 = njRoundOff( 2.8f );
      y2 = njRoundOff( -2.8f );
      % Result %
      y1 = 2.000000
      y2 = -2.000000

### NOTES

### RELATED TOPICS

  njCeil
  njFloor
  njRoundUp

njRoundOff |
    <-|INDEX|->