Welcome Guest | My Membership | Login

International Spectrum

Numeric to Alpha Translation


The attached subroutine will convert a numeric values to their alphabetic values. The number "4" converts to "four"; "25" converts to twenty five, etc.  There is also an option that will allow you to change a numeric value into an alphabetic count.  For example, 4 converts to "forth", "25" converts to twenty-fifth.

This routine was originally written as a means of check-protection for an accounts payable check-writing program. As an additional safety measure to asterisk-protection, the amount of the check is spelled out in full. Thus, if the numbers become smudged, the alphabetic values will still be there for verification.

The subroutine "NUMBER.TO.ALPHA1" can be called from any program for any NUMERIC Dollars-Cents attribute.

NUMBER = "127.35"


This will product the following results:

NUMBER: 127.35


The second format allows you to display the number is counted format.  The notice the change to the last argument from “0” to “1”:


Social Media Login

Use your existing social media logins to access your Membership/Subscription information.

Existing Magazine/Newsletter Subscriber (Quick Access)

If you are an existing International Spectrum subscriber, but have not registered with the website, please enter the Reference Code found on the magazine or in the e-mails you receive from us.

Magazine Reference Code location

Spectrum Login

New Subscriber

If you currently do not receive the Magazine or other emails from International Spectrum, select the "Subscribe" button below to create an new membership account.


Find out more about the different between the FREE and a Professional Membership at:
Compare Account Options


# # #          # # #          # # #


Related Articles

  • Convert C#/VB.NET Date/Time to Internal Date

    This Article will show you how to convert a C# or VB.NET Date/Time object into an Internal MultiValue Date. It will show you how to do it using the ICONV functions, and well as how to generate an Internal Date without using the ICONV function.

  • Convert Internal Date into C#/VB.NET Date/Time

    This article will show how to convert a MultiValue (PICK) Internal Date into a DateTime object that you can use in C# and VB.NET. The article will cover how use the OCONV statement, as well as, how to generate the DateTime object without using the OCONV statement.

  • SBClient: Execute Windows Command on Workstation

    The following code will allow a MultiValue BASIC routine to execute a Windows/DOS command on the Workstation that is running SBCLIENT, SB/XA Browser Client, and SB/XA Rich Client.

  • Tech Tip - Number to Word Conversion

    Company: International Spectrum

    Some of your business processes are complex, some are simple. Let's look at check writing as an example. This is a really simple process, but you can run into one small snag.

  • Tech Tip - Reading/Writing OS files

    Reading and writing OS files is very important in the new hybrid systems we have to write these days. Most of our applications are pretty self-contained,and don't need to interact with programs or applications outside the MV environment. But that is slowly changing.

Return to top

International Spectrum