Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

IsCurrencyFormatted Function

Overview

The IsCurrencyFormatted function tests if a string contains a combination of accounting style characters, numbers, and one more whites spaces between the currency symbol and the digits.

Syntax/Parameters

Syntax

boolean = IsCurrencyFormatted ( string value );

Parameters

string

A string to test.

Return Value

Returns TRUE if value is a formatted currency value or FALSE if it is not.

Remarks

The allowed current characters are dollars ($), pounds (£), yen (¥), and euros (€). The IsCurrencyFormatted function tests to ensure proper placement of the currency character relative to the digits but does not test for proper ordering of the currency character, punctuation, and the numbers included in the value. For more strict checking, use the IsCurrencyProper function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic