View Single Post
  #5 (permalink)  
Old January 15th, 2006, 06:37 AM
alastair alastair is offline
Authorized User
 
Join Date: Dec 2005
Location: , , .
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

1. I don't understand exactly what the code has to do so I'd need some samples of the input (number) and the text you want it to generate. How does the 'currency' function display 12.34, 1234.56 123456.78, for example, and what should the output of your function be for these cases?

2. Does the 'currency' format put any symbols, letters or other non-numbers in its format - if so what, and where? For example, is is RP 12.34 or perhaps 12.34 RP ?

3. I'm guessing your numbers always have a decimal point followed by two digits, is that correct? I'd need to check but I think your code may produce unexpected results if given a number ending in ".00"
Reply With Quote