I'm having an input
like this.
<input id="test" value="150,000">
And I want get value
from this input
and perform calculations.
How can I convert value="150,000"
into a number like this 150000?
I tried numberFormat($("input[id='test']").val())
but it not OK.