ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:round

Differences

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

Link to this comparison view

Last revisionBoth sides next revision
functions:round [2017/03/15 16:30] – created korshunfunctions:round [2017/04/15 17:50] korshun
Line 4: Line 4:
  
 ===== Description ===== ===== Description =====
-Returns rounded to the nearest integer as a fixed-point number.+Rounds x to the nearest integer and returns the result as a fixed-point number.
  
 See the article on [[:rounding]] for all rounding modes. See the article on [[:rounding]] for all rounding modes.