Floor: Difference between revisions
Jump to navigation
Jump to search
Created page, discription of floor() function, example using the Purse Rat ML calculation |
|||
(No difference)
| |||
Created page, discription of floor() function, example using the Purse Rat ML calculation |
|||
(No difference)
| |||
Rounds a float variable down to the closest integer beneath it.
For example:
int purse_rat_ML = floor( familiar_weight($familiar[109])/2 ); print( "Your squeaky little buddy is currently generating "+purse_rat_ML+" ML in aggression from monsters!" );