RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.FloatToCurr Function

Converts a floating-point value to a Currency value.

Pascal
function FloatToCurr(const Value: Extended): Currency;
C++
Currency FloatToCurr(const Extended Value);

SysUtils

FloatToCurr returns the Currency value equivalent to Value. If Value is not within the valid range for a Currency value, FloatToCurr raises an EConvertError exception. 

 

TryFloatToCurr 

Double

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!