Events, Spawns, Source Servers, and many more!

User Tools

Site Tools


events:calculating

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
events:calculating [2014/08/17 11:36]
sylian
events:calculating [2015/01/21 14:12] (current)
sylian
Line 34: Line 34:
 ^  ceiling ​ |  ceiling(3.117) ​ |  4  |  the nearest whole number up  | ^  ceiling ​ |  ceiling(3.117) ​ |  4  |  the nearest whole number up  |
 ^  floor  |  floor(7.22) ​ |  7  |  the nearest whole number down  | ^  floor  |  floor(7.22) ​ |  7  |  the nearest whole number down  |
-^  min  |  min(4, 2)  |  2  |  the larger ​number of the two  | +^  min  |  min(4, 2)  |  2  |  the smaller ​number of the two  | 
-^  max  |  max(5, 10)  |  10  |  the smaller ​number of the two  |+^  max  |  max(5, 10)  |  10  |  the larger ​number of the two  |
 ^  random ​ |  random(10, 20)  |  14.543252 ​ |  a random number between the two values ​ | ^  random ​ |  random(10, 20)  |  14.543252 ​ |  a random number between the two values ​ |
 ^  round  |  round(4.2745) ​ |  4  |  the nearest whole number (x.5 rounds up)  | ^  round  |  round(4.2745) ​ |  4  |  the nearest whole number (x.5 rounds up)  |
 ^  sqrt  |  sqrt(81) ​ |  9  |  the square root of a number ​ | ^  sqrt  |  sqrt(81) ​ |  9  |  the square root of a number ​ |
events/calculating.txt · Last modified: 2015/01/21 14:12 by sylian