Whatever message this page gives is out now! Go check it out!

IsNumeric

Last update:
May 18, 2026

Description

Determines whether a string can be converted to a numeric value. Supports numbers in U.S. number format. For other number support, see LSIsNumeric.

Returns

True, if string can be converted to a number; False, otherwise.

Category

Syntax

IsNumeric(string)

See also

Parameters

Parameter
Description
string
A string or a variable that contains one.

Example

 
<cfscript>
    string = "hello world";
    result = IsNumeric(string);
    output = IIF(result eq 1, DE(true),DE(false));
    writeoutput(output);
</cfscript>
Output
false

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page