System.FGetRound

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function FGetRound: UInt32;

C++

extern DELPHI_PACKAGE unsigned __fastcall FGetRound(void);

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System

Description

Gets the floating point rounding mode.

FGetRound returns one of the following values:

Constant
ferTONEAREST
ferUPWARD
ferDOWNWARD
ferTOWARDZERO

Note: The return value is different on each platform. In order to keep compatibility between different platforms, consider using GetRoundMode and TRoundingMode.

See Also