Sébastien TACK wrote:
It's a miracle of Oriented Object Progamming ! StrToFloat can take a large type of value Single, Double, Currency. Every method are overload.
Overloading methods is something different from polymorphism in object oriented programming (where virtual methods are key in polymorphism). BTW it is not StrToFloat that has overloads for a bunch of floating point types, but FloatToStr :) (actually many RTL functions have overloads for different datatypes) Anyway, for string <-> currency conversion, you probably want to use the RTL functions mentioned by Henry Vermaak. (NB there is also a StrToCurr function.) Regards, Bram _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives