Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

IsCurrencyPrefix Function

Overview

The IsCurrencyPrefix function tests if a string contains a currency prefix. The following number can be loosely formatted as an accounting value. 

Syntax/Parameters

Syntax

boolean = IsCurrencyPrefix ( string value );

Parameters

value

A string to test.

Return Value

Returns TRUE if value contains a currency prefix and FALSE if it does not.

Remarks

The IsCurrencyPrefix function tests for ISO-4217 or simple currency prefix formats. For example, “$42”, “US$42.16”, and “CAN$22.22” will all return as TRUE.

Related Functions

Platform Support

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

Legato IDE, Legato Basic