Do you need that exact format or will this do?:
printf "%g\n", 256123456;; 2.56123e+008 [download]
In reply to Re: Number digit format question by BrowserUk in thread Number digit format question by dicty