GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Twenty-three — XBRL Functions (continued)
Overview
The XBRLApplyPrecision function applies a precision to a value with optional rounding.
Syntax/Parameters
Syntax
string = XBRLApplyPrecision ( string value, string precision, [boolean round] );
Parameters
value
A string containing a representation of a monetary facts value.
precision
A string containing the precision for value.
round
An optional boolean value specifying whether to round the during processing. If omitted, the default value is TRUE.
Return Value
A string containing the revised fact value or an empty string on failure. The extended error message will contain further information on the error.
Remarks
The precision is applied and either truncated or rounded depending on the round parameter.
Rounding is performed using the “Half to Even” method. See 4.6.7.1 ‘Correct to n Significant Figures’, ‘Rounding’ and ‘Truncation’ in the XBRL 2.1 Specification.
Related Functions
Platform Support
GoFiler Complete, GoFiler Corporate, GoXBRL
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.