make style consistent
check for non-digits isn't necessary

launch_url does this already
calculate the # of digits with log10 and free str