For Programmers: Free Programming Magazines  


Home > Archive > Clarion > January 2006 > numbers to words









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author numbers to words
Martin R&M

2006-01-10, 3:55 am

I need some code for converting numbers to word in a app, using clarion 6.2
legacy,
I have the castle template but this is for a report not a procedure.

Thanks
Martin


sandinzz@yahoo.com

2006-01-10, 3:55 am

Hi.
Try next: put your number in string variable. In the LOOP ... END, use
string slicing and CASE ... OF ... END for every character in your
variable to convert every digit of your number. Best wishes, Zoran.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com