Home iWeb Logon Internet Meetings Contact Us Site Map

Z Programs

Z.zero.fill


Arguments:       A - number to zero fill
B - length of resulting field
C - number of implied decimal points

                  If input is                 Result is:
               A          B    C
               
               123.56    7    2             0012356
               123.00    7    2             0012300
               
               123.56    7    0             0000124
               123.00    7    0             0000123
               
               -123.45   7    2             -012345
               
               123456.78 7    2             12345678   (This is an error)

Posted: August 03, 2001

Return to list of Z Programs