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

RoundToCardinal

Rounds the specified Extended value to a Cardinal value.

Declaration

Source position: lazutilities.pas line 33

function RoundToCardinal(

  e: Extended

):Cardinal;

Arguments

e

  

Extended type rounded and converted in the routine.

Function result

Cardinal value for the rounded numeric value.

Description

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


Version 4.0 Generated 2025-05-03 Home