conveting integers into currency

D

Dave Cool

I would like to have the ability for folks to enter a
currency amount as 1599 in a text box on a form and have
code convert it to $15.99 How would I do this?
 
M

Marshall Barton

Dave said:
I would like to have the ability for folks to enter a
currency amount as 1599 in a text box on a form and have
code convert it to $15.99 How would I do this?


Divide by 100 (in the text box's AfterUpdate event) and set
the format property to Currency.
 

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