[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'LazStringUtils' (#lazutils)

IsNumber (deprecated)

Deprecated. Use IsNumeric instead.

Declaration

Source position: lazstringutils.pas line 46

function IsNumber(

  s: string

):Boolean;

Arguments

s

  

String with values examined in the routine.

Function result

True when characters in s are in the range '0'..'9'

Description

Calls the IsNumeric routine to determine the return value.

Returns True if all of the characters in s are in the range '0'..'9'. Returns False if any character is not in the required range, or when s is an empty string ('').

Version info

Deprecated in LazUtils version 4.0 to avoid confusion with the RTL routine of the same name. Use IsNumeric instead.

See also

IsNumeric

  

Indicates whether the characters in the specified value are numeric digits in the range '0'..'9'.


Version 4.0 Generated 2025-05-03 Home