Is there an existing library that would convert variable user input into an integer? User input can also have a magnitude suffix "K, M, G"
K-1000
M-1000000
G-1000000000
Input String -> Integer
"22.5" -> 22
"22.5K" -> 22500
"1,234" -> 1234
"1,234M" -> 1234000000
"0.1G" -> 100000000
"1.234E3" -> 1234000