you said 99 or 100, parseFloat will give 99.99 from your example - if
you specifically wanted an integer you could parseInt( yourString )
and that will round up. To round a number down use Math.floor on the
floating-point number parseFloat gives.

On Sep 28, 10:22 am, "ryan.j" <ryan.joyce...@googlemail.com> wrote:
> parseFloat( yourStr )
>
> On Sep 28, 10:18 am, runrunforest <craigco...@gmail.com> wrote:
>
> > Hi,
>
> > I have a value that include word letter and some sign such as $.
>
> > I want to remove all of them just keep the number.
>
> > For example: i want "$99,99 USD" become "99"  or "100"
>
> > can someone please give the function

Reply via email to