Hi,
I'm doing an online invoice system with ASP and MS SQL.
So you got the price and total amount.
And let say the amount is $4000.00 , there is also a portion where the invoice needs to mention it in words, "Fourty Thousand"
Can it be "cast" ? "conver" ? or anything?
Or is there any workaround??$4000.00 = "Fourty Thousand"
I better should be careful while doing any transactions with you ;).
Maybe a function can be written to get it done ... will try it out ...
Highly unlikely you will get a readymade function for the same ...|||Opps..sorry...I was kindy sleepy..:)
thanks...I'll be trying out some code too...so many numbers condition to check in the if then else....|||don't write your own, there are so many scripts out there already, i'm sure you can adapt the logic, even if they aren't all written in wahtever language you plan to use...
http://developer.asna.com/Articles/b000106.asp
http://www.idinews.com/sourcecode/IntegerFunction.html
http://www.mvps.org/access/modules/mdl0001.htm
http://www.vbce.com/code/functions/convert_numbers_to_words/index.asp
http://www.vbexplorer.com/VBExplorer/tips/src36.asp
how did i find these so quickly?
google
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment