Hi, Folks.
I have this in javascript parseFloat, The parseFloat() function parses a string and returns a floating point number. How to do the same in B4A? an example.
Javascript
version = parseFloat(5.12a);
console.log(version);
The log will show "5.12" without "a" how can I do it in B4A, the problem sometimes the version can be 5.1b 5.11b I would like to obtain only the numbers without the letter. ?
I have this in javascript parseFloat, The parseFloat() function parses a string and returns a floating point number. How to do the same in B4A? an example.
Javascript
version = parseFloat(5.12a);
console.log(version);
The log will show "5.12" without "a" how can I do it in B4A, the problem sometimes the version can be 5.1b 5.11b I would like to obtain only the numbers without the letter. ?