PennMUSH Community

Changeset 1288

Show
Ignore:
Timestamp:
09/24/08 00:42:44 (2 months ago)
Author:
shawnw
Message:

Help for fmod() is now accurate as to its behavior.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/trunk/game/txt/hlp/pennfunc.hlp

    r1280 r1288  
    14231423  fmod(<number>, <divisor>) 
    14241424 
    1425   Identical to mod() but may take floating point arguments. The return 
    1426   value is the (possibly floating point) smallest positive remainder 
    1427   left after subtracting the largest number of multiples of <divisor> 
    1428   from <number>. 
     1425  Similar to remainder() but may take floating point arguments. The 
     1426  return value is <number> - n * <divisor>, where n is the quotient of 
     1427  <number> / <divisor>, rounded towards zero. The result has the same 
     1428  sign as <number> and a magnitude less than the magnitude of 
     1429  <divisor>. 
    14291430 
    14301431  Example: