showing results for - "change px string to number"
Jean
01 Jan 2019
1parseFloat('20.954544px', 10)
2> 20.954544
3parseInt('20.954544px', 10)
4> 20
5a = '20px'
6parseInt(a, 10);
7> 20
8