JCL Help:CharIsNumberChar@AnsiChar

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether C is a number.


Pascal

 function CharIsNumberChar(const C: Char): Boolean;
function CharIsNumberChar(const C: AnsiChar): Boolean;


Parameters

Parameters Description
const C: Char Character to test.


Return Value

If C is a number the result is True, otherwise the result is False.


Description

CharIsNumberChar returns whether or not the supplied character can occur in a number. That is, if it comes from the ['0'..'9', '+', '-', '.'] set where the dot is replaced by the system's decimal separator character.


See Also

CharIsAlpha CharIsAlphaNum CharIsDigit


About

Unit

JclAnsiStrings


Donator

Anthony Steele


Platforms

Windows NT/2000: Requires Windows NT 4 or later. Windows 95/98: Requires Windows 95 or later. Requirements: Shell32 Version 4.00 or later.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page