Convert €10,00 into 1000

Adriano85

Registered User.
Local time
Yesterday, 20:23
Joined
Jan 16, 2013
Messages
16
Hi guys,

What is the best function to turn a currency field €10,00 into a text field like 1000?

Many thanks!

Adrian
 
Hello Adrian, you could use CLng() function to change it to Number.. If you really need to treat it as a String then wrap the output of CStr or Format
 
Thanks mate!

Cstr([fieldname])*100

Did the job. Amount in cents as a string.
 

Users who are viewing this thread

Back
Top Bottom