GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
XDXCreatePrecisionComponent Function
Overview
The XDXCreatePrecisionValue function processes precision and power properties and returns a precision value for creating an engram.
Syntax/Parameters
Syntax
string = XDXCreatePrecisionComponent ( [string precision], [string power] );
string = XDXCreatePrecisionComponent ( [int precision], [int power] );
Parameters
precision
An int or string representing the value. For infinite, the string “inf” or “i” must be used. If the value is omitted or an empty string, the default value is “inf”.
power
An int or string representing the value. For default, the string “default” or “d” must be used. If the value is omitted or an empty string, the default value is “d”.
Return Value
A string containing the value representing the precision to be used as a property in an engram or empty on failure. Use the GetLastError function to retrieve a formatted error code and GetLastErrorMessage for additional detail.
Remarks
For convenience both string and integer values may be supplied (or mixed) as required. For infinite, a string must be used.
The range for both parameters is +15 to -15.
Power is essentially the same as scaling with iXBRL.
The reciprocal function is XDXGetPrecisionProperties.
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.