Sign in Join
FPDoc Onlineexperiment

RoundToCardinal function

In unit LazUtilities

Rounds the specified Extended value to a Cardinal value.

Declaration

pascal
function RoundToCardinal(e: Extended): Cardinal

Description

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

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.