AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.Trunc Method

Returns the integer part of a float value with no rounding either way.

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

The truncated value.

Copyright (c) 2012. All rights reserved.