I would like to write a method but have no idea where to start concerning converting a String to decimal format.
Here’s an example of what I would like:
I have the following string:
String ipAddress = "192.168.1.10 "
And I want to convert it to its decimal equivalent:
3232235786
Many thanks!
How about (tested & working):