Search Photo  
RSS Feed
24 November 2009
  Home | Forum | Photo Gallery | Wallpapers | Business | Entertainment | Education | Sports | Article | City |
Free News on your website
School, College, University, Institute, Institute, Coaching Center and other Education Institute of India
Education Directory | Results | Who is Who | Notes | Article | Tutorial | Information | Dictionary | News 
 
  CA Clipper | FoxPro |

 

News FlashWhat kind of China at PM's banquet? | Security beefed-up in Mumbai ahead of 26/11 anniversary | Test match against India starts from scratch, says Sangkkara | Sonia Gandhi assures support to wives of Hemant Karkare, Vijay Salaskar | Indian sub-continent is prone to nuclear war: Army Chief | Chhattisgarh man, a snake venom junkie | Centre to set up six Spice Parks | Widows of 26/11 martyrs meet Sonia | 'Pigeon' McGrath still as miserly and deadly as in his hey-day | India -ASEAN free trade agreement to come into force in January 2010 |
FoxPro Tutorial & Source Code
* Author      : Team of Pelagian Softwares
* Date        : 11/10/2004
* Source      : rupword.prg
* Description : Program to Convert Numberic to Word


set print off
set talk off
unt='One       Two       Three     Four      Five      Six       '
unt= unt+'Seven     Eight     Nine      Ten       Eleven    Twelve    '
unt= unt+'Thirteen  Fourteen  Fifteen   Sixteen   Seventeen Eighteen  '
unt= unt+'Ninteen'
ten='Twenty    Thirty    Fourty    Fifty     Sixty     Seventy   '
ten= TEN+'Eighty    Ninty'
clth='Crore     Lac       Thousand  Hundred               '
input 'ENTER RS. FOR WORD : ' to n1
wlen=len(str(n1))
stor '' to word,w1,w2,w3
num=n1
l=1
x=10000000
do whil l<=60
 if num>=x
  if num<1
   n=round(num*100,0)
   word=word+' And Paise'
  else
   n=int(num/x)
   num=num-n*x
  endI
  if n>19
   xx=int(n/10)*10
   word=word+' '+trim(subs(ten,xx-19,10))
   n=n-xx
  endI
  if n>0
   word=word+' '+trim(subs(unt,n*10-9,10))
  endI
  word=word+' '+trim(subs(clth,l,10))
 endI
 l=l+10
 x=iif(x=1000,100,x/100)
endD
w1=ltrim(word+' Only')
?w1
?
Also download:  

Category for FoxPro

Database
Financial
Mathametics
Screen
Search
Security
Sound
String

 

All right reserved by Khabarexpress.com
Contact Us | Archives | Sitemap | Can't see Hindi ?
Special Edition: Lakshchandi Mahayagya, Camel Festival 2007, Vartmaan Sahitya, Bikaner Udyog Craft Mela
Our Network rajb2b.com | khabarexpress.com | uniqueidea.net | PelagianDictionary.com | hindinotes.com
Developed & Designed by Pelagian Softwares