LassoScript Utility
Basics Browse Detail

[String_IsNumeric]

Tag Link [String_IsNumeric] Category String
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type Boolean Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x

Description

[String_IsNumeric] returns boolean True if the string contains a valid integer or decimal number.

Syntax

[String_IsNumeric: 'String Value']

Parameters

Required Parameters
String Value The string which should be checked.

Examples

To check whether a string is numeric:

Use the [String_IsNumeric] tag. The following example checks whether the string 10.0 is numeric, returning True since the string only contains numbers and a decimal point.

[String_IsNumeric: 10.0]

True

Related Tags

Category Tags