I want to extract decimal number 265.12
or 0.0
from alphanumeric string (say amount) having value $265.12+
or $265.12-
or $0.0+
or $0.0-
and use it apply struts logic tag in jsp
. Not sure how to extract number maybe with help of JavaScript
.