โ07-22-2019 10:49 AM
Hi All,
how to convert String to Number,
Like :String str=โ12SSโ;
Number = 12SS
please help me on this Issue.
Thanks,
kullayappa
โ07-22-2019 11:44 AM
Hi Kullay
I was able to use parseFloat(โ22SSโ) and parseInt(โ22SSโ) and result in the number 22.
However, the SS is not a numeric value so it is not included. Is SS intended to be part of your number?
If so, Iโm not sure there is a way to have a number type that contains letters like โSSโ
โ07-24-2019 11:12 AM
@cjhoward18 , Its working Thank you for update
โ07-24-2019 08:58 AM
โ07-24-2019 11:10 AM
Hi Anil,
I got the Issue, we need to use the Parseint() or Parseflot().
Thanks,
kullayappa