Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of code/doc/Math


Ignore:
Timestamp:
Sep 22, 2008, 6:36:05 PM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/Math

    v2 v3  
    2323
    2424 * '''floor('''''value''''')''': Rounds the value down.
    25   * Example: floor(0.2) = 0, floor(0.8) = 0
     25  * Example: floor(0.2) = 0, floor(0.7) = 0
    2626 * '''ceil('''''value''''')''': Rounds the value up.
    27   * Example: floor(0.2) = 1, floor(0.8) = 1
     27  * Example: floor(0.2) = 1, floor(0.7) = 1
    2828 * '''round('''''value''''')''': Rounds the value.
    29   * Example: floor(0.2) = 0, floor(0.8) = 1
     29  * Example: floor(0.2) = 0, floor(0.7) = 1
    3030
    3131 * '''mod('''''value''''', '''''max''''')''': The modulo operation, enhanced to work properly with negative values.