AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.Ceil Method

Rounds a float to the next highest integer. This differs from Trunc when using positive numbers: Trunc(1.6) is 1 but Ceil(1.6) is 2.

Syntax
Pascal
class function Ceil(const Value: Single): Integer; static;
Parameters 
Description 
const Value: Single 
the value to round up. 

Value rounded to the next highest integer.

Copyright (c) 2012. All rights reserved.