Help Center
Help CenterAfxNova

AfxIsNumericfunction

Retuns TRUE if c is a number (0-9), a numeric sign (+-) or a decimal point (.). Works both with single characters and strings. Note: For strings that can contain floating decimal numbers with exponents, e.g. "1.2345678901234567e+029", use the CRegExp (regular expressions class):

String ManagementfunctionAfxStr.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION AfxIsNumeric (BYREF c AS CONST WSTRING) AS BOOLEAN

Description

Retuns TRUE if c is a number (0-9), a numeric sign (+-) or a decimal point (.). Works both with single characters and strings. Note: For strings that can contain floating decimal numbers with exponents, e.g. "1.2345678901234567e+029", use the CRegExp (regular expressions class):

Reference

  • Include file AfxStr.inc
  • Defined in AfxNova/AfxStr.inc:1089