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

Spell Number Function
Spellings Class

Public Function SpellNumber( _
    ByVal vValue As Variant _
    ) As Variant

Spells out the DIGITS within any number.
Does not spell the number in the same way the SpellCurrency function spells currency amounts.

    SpellNumber("123.45") = "One Two Three Point Four Five"
See also:
    SpellCurrency Function
    SpellPhonetic Function
    SpellPolice Function
Note: Function is pre-programmed with the English spelling for the following characters:
    %     Percent
    +     Plus
    -     Negative
    .     Point
    0..9  Zero..Nine
    E     Times Ten To The Power Of
The function adds a space between each of the characters which have a spelled-out equivalent, and it replaces a single space with three spaces (two spaces plus the one-space character separator).

vValue: The string containing the numeric digits and symbols which are to be spelled. Any characters other than those mentioned in the table above are ignored.

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