convert my string of value to number in ionic 2
Using parseInt(myString) should work.
how to convert sessionstorage.getitem("") to number?
This works for me for localStorage, it should work for sessionStorage too.
thanks . it works fine…
Your lucky you didn’t ask this on stack overflow.
parseInt(myString) worked. Thanks.