##### Ninja Library - Mathematical Function

# njFraction

Returns the decimal fraction

### FORMAT

`

  Float njFraction( n )
  Float n

`

### PARAMETER

  `n` | Arbitrary real number

### RETURN

  Value of decimal fraction

### DESCRIPTION

  Returns the decimal fraction of arbitrary real number n.

### EXAMPLE

      ans1 = njFraction( 3.14159265f );
      ans2 = njFraction( -3.14159265f );
      % Result %
      ans1 = 0.14159265
      ans2 = -0.14159265

njFraction

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999