VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Converts numbers into words

Ulysses R. Gotera  (9 Submissions)   String Manipulation   Visual Basic 5.0   Unknown Difficulty   Sat 18th February 2006   Mon 8th February 2021

Converts numbers into words

API Declarations


' **************************************************
' Description : Module that will transform numbers into
' words
' Author : Ulysses R. Gotera
' Email : [email protected]
' Country : Philippines
' Date Created : Sunday, February 19, 2006
' Date Modified: <>
' Note : This program assumes that the number you are
' going to input is in this format 999999999999.99
' (up to 999 billion)
'
' This program will not work if a dot is used instead
' of a comma in seperating ones, hundreds, thousands, and millions.
' Some coutries use a dot instead of a comma.
'
' Sample Usage:
' strVariable = udf_strNum2Words(100.50,"Pesos ", "Centevo(s)")
' Debug.Print strVariable
'
' This will result in:
' One Hundred Pesos and Fifty Centevo(s)
'
'
' strVariable = udf_strNum2Words(8788.69,"Dollars ", "Cents")
'
' This will result in:
' Eight Thousand Seven Hundred Eighty Eight Dollars and Sixty Nine Cents
'
'
' strVariable = udf_strNum2Words(88)
'
' This will result in:
' Eighty Eight
' **************************************************

Rate Converts numbers into words (2(2 Vote))
Converts numbers into words.bas

Converts numbers into words Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters