January 2018
Intermediate to advanced
434 pages
14h 1m
English
All the preceding examples use the base (radix) 10. There are cases when we wish to convert a String to Long but using another base. Both string.toLong() and string.toLongOrNull() can receive a custom radix to be used in the conversion. Let's take a look at its implementation:
Read now
Unlock full access