Search Results for

    Show / Hide Table of Contents

    ToWords

    Function Parameters Return value
    ToWords object value string

    Converts the specified currency value to words.

    Example:

    ToWords(1024.25) = "One thousand and twenty-four dollars and 25 cents"
    
    Function Parameters Return value
    ToWords object value,``string currencyName string

    Converts the specified currency value to words. The "currencyName" parameter indicates the currency. Valid values for this parameter are:

    "USD"

    "EUR"

    "GBP"

    Example:

    ToWords(1024.25, "EUR") = "One thousand and twenty-four euros and 25 cents"
    
    Function Parameters Return value
    ToWords object value,``string one,``string many string

    Converts the specified integer value to words. The "one" parameter contains the name in singular form; the "many" parameter contains the name in plural form.

    Example:

    ToWords(124, "page", "pages") = "One hundred and twenty-four pages"
    ToWords(1, "page", "pages") = "One page"
    
    Back to top © 1998-2025 Copyright Fast Reports Inc.