VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

AmtToWords

Atul Alurkar  (1 Submission)   String Manipulation   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This function converts amount in words with supplied currency parameters.
e.g. AmtToWords(12345.01, "GB POUND", "PENNY", "GB POUNDS", "PENNIES") will return GB POUNDS TWELVE THOUSAND THREE HUNDRED FORTY-FIVE and ONE PENNY ONLY

Inputs
Amount As Currency, UnitCurr As String, DecCurr As String, UnitsCurr As String, DecsCurr As String

Assumes
max amount that can be converted by this function is 922,337,203,685,477

Returns
It returns amount in words with Currency Parameters

API Declarations
None

Rate AmtToWords (4(4 Vote))
AmtToWords.bas

AmtToWords Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters