ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:iceil

This is an old revision of the document!


Table of Contents

iceil

int iceil(fixed x)

Description

Rounds x up and returns the result as an integer.

See the article on Rounding for all rounding modes.

Examples

iceil(2.3) -> 3
iceil(3.8) -> 4
iceil(5.5) -> 6
iceil(-2.3) -> -2
iceil(-3.8) -> -3
iceil(-5.5) -> -5
functions/iceil.1492267821.txt.gz ยท Last modified: 2017/04/15 17:50 by korshun