Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Query

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-04-20 : 09:52:27
Khalid Abbasi writes "How to write query, that is use to write checks?

for example $2050.35

Two thousand and fifty .35/100"

mohdowais
Sheikh of Yak Knowledge

1456 Posts

Posted - 2004-04-20 : 10:25:04
This has nothing to do with the query, you should do this at your presentation layer. Certain reporting tools such as Crystal Reports already have this functionality built in to convert numbers to words. There are many more code snippets available for VB/ASP/PHP/etc to do that...just google it.

OS
Go to Top of Page

AndrewMurphy
Master Smack Fu Yak Hacker

2916 Posts

Posted - 2004-04-20 : 10:32:21
there's also a couple of topics on this site....SEARCH for "convert numbers to words"...or some derivation of that title.
Go to Top of Page
   

- Advertisement -