ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:rounding

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
new:rounding [2018/02/17 00:22] korshunnew:rounding [2018/02/17 00:23] korshun
Line 27: Line 27:
 ^ round | ''round()'' | ''iround()'' | ^ round | ''round()'' | ''iround()'' |
 ^ trunc | ''trunc()'' | ''itrunc()'' | ^ trunc | ''trunc()'' | ''itrunc()'' |
 +
 +Example of the difference:
 +
 +  * ''floor(2.3) == 2.0;''
 +  * ''ifloor(2.3) == 2;''
  
 So the full function list is as follows: So the full function list is as follows: