AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.Round Method

Rounds a float to the nearest integer (positive or negative).

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

The nearest integer to Value.

Copyright (c) 2012. All rights reserved.