Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

IntegerToRoman Function

Overview

The IntegerToRoman function converts an integer into a string containing the equivalent roman numeral.

Syntax/Parameters

Syntax

string = IntegerToRoman ( int value, [boolean lower] );

Parameters

value

An int value to convert from 1 to 99.

lower

An optional boolean value, if non-zero the result will be lower case. The default is lower case.

Return Value

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

Remarks

Values from 1 to 99 are supported. All other values will cause an error.

Related Functions

Platform Support

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

Legato IDE, Legato Basic