VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Word Representation of Number

by Karl Houseknecht (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

Takes a number and returns a word expression for that number. Example: 123.01 returns "One Hundred Twenty-three And 01/100". Very useful for printing checks.

Inputs
A number (converted to a string). Use CStr(number).
Code Returns
A word expression for that number. Example: 123.01 returns "One Hundred Twenty-three And 01/100". Very useful for printing checks.
Side Effects
The limit of the input number is 999,999,999,999,999 (999 trillion) before rounding errors are encountered

Rate Word Representation of Number

Upload

Download this snippet    Add to My Saved Code

Word Representation of Number Comments

No comments have been posted about Word Representation of Number. Why not be the first to post a comment about Word Representation of Number.

Post your comment

Subject:
Message:
0/1000 characters