Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 7 revisions

Blitz3DBlitzPlusBlitzBasic

Ceil

Ceil:Float32 float:Float32
Parameter Mode Type Default Description
float In Float32 required The number to round up.

Returns: The smallest whole number that is not below float.

Description

Rounds up to the next whole number and returns it as a float.

Examples

Print Ceil(2.1)
Print Ceil(-2.1)
3.0
-2.0

Related Commands

ATan2, ByteSwap 〔BlitzLLVM〕, Cos, Exp

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally