Changes between Version 2 and Version 3 of code/doc/Math
- Timestamp:
- Sep 22, 2008, 6:36:05 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Math
v2 v3 23 23 24 24 * '''floor('''''value''''')''': Rounds the value down. 25 * Example: floor(0.2) = 0, floor(0. 8) = 025 * Example: floor(0.2) = 0, floor(0.7) = 0 26 26 * '''ceil('''''value''''')''': Rounds the value up. 27 * Example: floor(0.2) = 1, floor(0. 8) = 127 * Example: floor(0.2) = 1, floor(0.7) = 1 28 28 * '''round('''''value''''')''': Rounds the value. 29 * Example: floor(0.2) = 0, floor(0. 8) = 129 * Example: floor(0.2) = 0, floor(0.7) = 1 30 30 31 31 * '''mod('''''value''''', '''''max''''')''': The modulo operation, enhanced to work properly with negative values.