Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

IntegerToCardinal Function

Overview

The IntegerToCardinal function converts an integer to a string containing a cardinal equivalent.

Syntax/Parameters

Syntax

string = IntegerToCardinal ( int value );

Parameters

value

An int.

Return Value

Returns a string containing value converted to a cardinal number or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The IntegerToCardinal function converts an integer to a cardinal number (such as 11 to “eleven”). Negative numbers are not permitted. If the integer parameter cannot be converted to a cardinal number, the GetLastError function will return ERROR_SYNTAX.

Related Functions

Platform Support

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

Legato IDE, Legato Basic