split a big number
require 'bigdecimal' puts BigDecimal("105000").split # => [1, "105", 10, 6] # That is, 0.105*(10**6) puts BigDecimal("-0.005").split # => [-1, "5", 10, -2] # That is, -1 * (0.5*(10**-2))