fn to_num_reversed(string: &str) -> U256
Helper to convert the fractional part of a number into a comparable one. This will reverse the number so that 0’s can be ignored