Take Command / TCC Help v. 13.04

@DIGITS

Hide Navigation Pane

@DIGITS

Previous topic Next topic No directory for this topic No expanding text in this topic  

@DIGITS

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@DIGITS[n]:  Returns 1 if the string is composed of decimal digits only, otherwise it returns 0. The Decimal character, the Thousands character, and the sign characters (+ or -) are not digits, and if they are present in the string @DIGITS will return 0.

 

Examples:

 

echo %@digits[12345]

1

 

echo %@digits[-12345]

0

 

echo %@digits[1.2345]

0

 

Comments (...)