[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LazUtilities' (#lazutils)

RoundToInt

Rounds the specified Extended value to an Integer value.

Declaration

Source position: lazutilities.pas line 32

function RoundToInt(

  e: Extended

):Integer;

Arguments

e

  

Extended type rounded and converted in the routine.

Function result

Integer value for the rounded numeric value.

Description

Calls Round to round the Extended value, and casts the result to the Integer type used as the return value.


Version 4.0 Generated 2025-05-03 Home