GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The IsCurrencyProper function tests if a string contains accounting style characters and if the string is a properly formatted accounting value.
Syntax/Parameters
Syntax
boolean = IsCurrencyProper ( string value );
Parameters
value
A string to test.
Return Value
Returns TRUE if value is a properly formatted currency value or FALSE if it is not.
Remarks
The allowed current characters are dollars ($), pounds (£), yen (¥), and euros (€). The IsCurrencyProper function tests to ensure proper placement of the currency character relative to the numeric value and proper placement of other accounting punctuation (including ‘)’, ‘(‘, ‘-’, ‘,’, and ‘.’) relative to the numeric value. It does not ensure correct placement of commas and decimal points within the number nor does it ensure the correct number of digits. Multiple commas and decimal points are permitted. For less strict testing, use the IsCurrencyFormatted function.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.