I want to extract decimal number 265.12 or 0.0 from alphanumeric string (say amount) having value $265.12+ or $265.12- or
265.12
0.0
$265.12+
$265.12-
You might be interested in this library for formatting money http://josscrowcroft.github.com/accounting.js/