<-- Previous || Up || Next -->

Spell Three Digit Integer Function
Spellings Class

Public Function SpellThreeDigitInteger( _
    ByVal vNumber As Variant _
    ) As Variant

Spells a number between 0 and 999 using English words.

    SpellThreeDigitIntegre(112) = "One Hundred Twelve"
    SpellThreeDigitInteger(100) = "One Hundred"
    SpellThreeDigitInteger(34) = "Thirty-four"
    SpellThreeDigitInteger(5034) = "Thirty-four"
See also:
    SpellCurrency Function
    SpellNumber Function
vNumber: The number whose three least significant digits are to be spelled. Function returns Null if vNumber if Null or cannot be fixed up to a number.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.