How to determine if a currency value has cents

  • Thread starter Thread starter ElPresidente
  • Start date Start date
E

ElPresidente

Everything I can think of uses strings and Access keeps dropping any
trailing 0s when converting to string. Any ideas?
 
I think you could use the format command, eg [strNew] = Format([curOld],
"0.00")

I am doing this from the top of my head so I'd suggest you check the
Format() command using your help files before using it.


Dom
 
Thanks everyone.

It was getting late in the day. I ended up using the round function
and diving by itself to determine if there was a decimal
 

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

Similar Threads


Back
Top