Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

IsDigit Function

Overview

The IsDigit function tests if a character is a numeric digit (0-9).

Syntax/Parameters

Syntax

boolean = IsDigit ( char value );

Parameters

value

A char to test. The character can be any type that will resolve to an integer.

Return Value

Returns TRUE if value is a numeric digit or FALSE if it is not.

Remarks

The IsDigit function will return FALSE for any characters outside the ASCII characters ‘0’-‘9’, including ANSI superscript characters and other special numeric characters. Use the IsNumeric function to test strings for ASCII numeric characters.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic