Padding zeroes to a decimal field

S

subbu

Hi,
I am looking for a function to pad zeroes on both sides
of the decimal.Any help in this regard is highly
appreciated

subbu
 
H

HSalim

check out
FormatNumber(Expression[,NumDigitsAfterDecimal [,IncludeLeadingDigit
[,UseParensForNegativeNumbers [,GroupDigits]]]])
 
M

Marshall Barton

subbu said:
I am looking for a function to pad zeroes on both sides
of the decimal.

Whenever you need to display the number on a form or report,
set the text box's format property to something like
0000.00000

Use however many zeros you want on the left or the right of
the decimal point.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top