[Gambas-user] Convert a "currency" string to a number

BB adamnt42 at gmail.com
Sat Mar 25 23:38:34 CET 2023


What's the best way to convert a string that looks like "$98,765" or 
"$98,765.43" to an integer / float?

Or putting this another way, I want to test if the value is > something 
(like "sTotal > 50000"), what is the most efficient way to do this check.

tia

bruce



More information about the User mailing list