n = 7.125 print, n, format='(f08.3)' ;==> 0007.125