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?
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.
like ROUND does, (ROUND(Value,Precision)), whose prototype I cannot find.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Works fine even with negative values. Thank You!
You might want to look at some of the round functions provided in the SysDefs.h file in the VCL directory.