Link to home
Start Free TrialLog in
Avatar of eeks2
eeks2

asked on

C++Builder3,function ROUND

I want to use the function ROUND which is described in the Help section. I cannot find a headerfile fitting to this function. Who knows how to invoke it?
Avatar of nietod
nietod

I searched through all the include files in the include directory and its descendant directories and could not find it!  

You might want to look at some of the round functions provided in the SysDefs.h file in the VCL directory.
Avatar of eeks2

ASKER

The function I am searching for is a function that rounds a double or extended variable to one digit after the decimal point.
like ROUND does, (ROUND(Value,Precision)), whose prototype I cannot find.
ASKER CERTIFIED SOLUTION
Avatar of nietod
nietod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eeks2

ASKER

Works fine even with negative values. Thank You!