General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Converting numbers to letters
Hi all...
I'm trying to write some code that converts a currency amount to letters for invoicing (in Spanish) I take an amount from a field and the first thing to do is isolate the cents. I do this as:
cents=amount-int(amount). Problem is I got a number like 0.45.
How to get rid of the 0. and convert this to a string to be used in the final expression?
TIA.
Ulises.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only