Just copy and paste the script, use the extra code (any number/10^ exponent - 1) to add perfectly to your number. Upd this actually handles 1e+308 zeros I only advertised this because I thought it was helpful to some people. Not just to get popular.
This script handles up to 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 zeros.