Hello all,
I’m trying to find a way to parse out some numbers from a potential string. Basically, I’m making a financial-based calculator, and the user could input something like
$45,509.30
and I’m trying to figure out how to extract everything but the period so I’m left with
45509.30
I found this help from Senocular: http://www.senocular.com/flash/actionscript.php?file=ActionScript_1.0/Prototypes/String/extractNumbers.as
But unfortunately, it’s AS1 and I can’t get it to work with my code…
Anyways, if anyone would be willing to help out an old vet, that’d be sweet