System.Character.IsNumber

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsNumber(C: Char): Boolean;
function IsNumber(C: UCS4Char): Boolean;
function IsNumber(const S: string; Index: Integer): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsNumber(System::WideChar C)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Character.pas
System.Character.hpp
System.Character System.Character

Description

Warning: IsNumber is deprecated. Please use TCharHelper.IsNumber.

Determines whether a UTF-16 character is defined as a number in the Unicode specifications.

Returns true if the UTF-16 character is defined as a number in the Unicode specifications.

For the definition of Digit and its relationship to Number, see: http://www.unicode.org/versions/Unicode5.2.0/ch04.pdf#G124206, The Unicode Standard, Version 5.2

See Also


Code Examples