Way cool! Thanks, Dream Team!

David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261
----- Original Message ----- 
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Wednesday, February 09, 2005 11:49 AM
Subject: [RBG7-L] - Using Num2Wrd.RBL PLUGIN in R:BASE 7.x and V-8


> At 11:34 AM 2/8/2005, Jan Barley wrote:
> 
> >Is there an RBase function to convert an integer to its text
> >equivalent?  I want a report to write out "For the six months
> >ending..." rather than "For the 6 months ending".  Have I
> >overlooked a function?
> 
> 
> Jan,
> 
> Here's an early Valentine's gift for you from the RBTI Dream Team!
> 
> File: Num2Wrd.RBL PLUGIN (an in-house production)
> Desc: To convert numbers to words
> URL: http://www.razzak.com/sampleapplications (Item 025)
> 
> Contents: Num2Wrd.RBL and Num2Wrd.TXT
> 
> Steps:
> 
> 01. Copy Num2Wrd.RBL in RBG7.EXE or RBG75.EXE or RBG8.EXE directory
>      For example:
> 
>      C:\RBTI\RBG7
>      C:\RBTI\RBG75
>      C:\RBTI\RBG8
> 
> 02. Start RBG7, RBG75 or RBG8
> 
> 03. At the R> Prompt, type the following:
> 
>      PLUGIN Num2Wrd.RBL vResult|214
> 
>      SHOW VARIABLE vResult
> 
>      The variable vResult will include the text version of 214, as:
>      two hundred and fourteen
> 
>      You may use ICAP1, ICAP2, LUC functions to manipulate the text
>      result as you wish.
> 
>      Example 01:
> 
>      PLUGIN Num2Wrd.RBL vResult|214
>      SET VAR vResult = (ICAP1(.vResult))
>      -- vResult = Two hundred and fourteen
> 
> 
>      Example 02:
> 
>      PLUGIN Num2Wrd.RBL vResult|214
>      SET VAR vResult = (ICAP2(.vResult))
>      -- vResult = Two Hundred And Fourteen
> 
> 
>      Example 03:
> 
>      PLUGIN Num2Wrd.RBL vResult|214
>      SET VAR vResult = (LUC(.vResult))
>      -- vResult = TWO HUNDRED AND FOURTEEN
> 
> Imagine the possibilities!
> 
> Very Best R:egards,
> 
> Razzak.
> 
> 

Reply via email to