GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The GetNumericType function performs a more detailed analysis of the content of a provided word and returns the type and attributes specific to numeric data.
Syntax/Parameters
Syntax
dword = GetNumericType ( string data );
Parameters
data
A string containing a word with no spaces.
Return Value
Returns a dword containing the attributes from the word scan.
Remarks
Unlike the GetWordType function, the GetNumericType function performs structural analysis of the content of the number and returns the same sub codes as the GetWordType function.
The specific flags are as follows:
Definition | Bitwise | Description | |||
WT_NUMBER_NEGATIVE | 0x01000000 | Negative Number (000) or -000 | |||
WT_NUMBER_IN_HOLE | 0x02000000 | Negative Number (000) | |||
WT_NUMBER_FOOTNOTE | 0x04000000 | Has Footnote | |||
WT_NUMBER_CURRENCY | 0x08000000 | Has Currency | |||
WT_NUMBER_PERCENT | 0x10000000 | Has Percent | |||
WT_NUMBER_IN_HOLE_ERROR | 0x20000000 | Error in Parenthetical | |||
WT_NUMBER_BAD_FORMAT | 0x40000000 | Bad Format (characters, not structure) |
Each case section can then count or act upon the details of the item.
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.