VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

convert/write a number in words

Noel Khan  (1 Submission)   String Manipulation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Takes any numerical value (less a billion) like "203463110" and outputs "Two Hundred Three Million Four Hundred Sixty Three Thousand One Hundred Ten"

Inputs
] Sub Translate(Number As String) [ The user/app send the translate sub some numerical value from a text or input box

Assumes
Purpose: was used to automate typing numerical values in words for stock certificates but can also be used in other financial apps (like an app that prints out information on checks). '=============================================== Instalation: cut and paste this code onto a form. Then hit F5

Returns
] NumberInText$ [ The sub return a string named "NumberInText$," which is the number worded out.

Side Effects
No side effects

Rate convert/write a number in words (4(4 Vote))
convert/write a number in words.bas

convert/write a number in words Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters