You are not logged in.
There are String<->Integer and String<->Currency conversion replacements in Syncommons unit. Furthermore, there are even a few improvements of them last week.
I am thus curious why there is no String<->Float conversion replacement in Syncommons ? Is it because the RTL version is already close to best ?
Last edited by ComingNine (2014-05-28 11:18:52)
Offline
You have function ExtendedToString() which uses FloatToText() or raw str() function.
But FloatToText() sounded like the easiest option in this case.
For string to float conversion, you have function GetExtended() which is pretty much optimized (with both pure pascal and x86 asm versions).
Thanks for the feedback.
Offline