Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel eScript Language Reference > Methods Reference > Conversion Methods > Convert Number to Precision MethodThe Convert Number to Precision method converts a number to a number that includes a number of significant digits. It returns the converted number contained in the numberVar variable, expressed to the number of significant digits that you specify in the len argument. This method allows you to express a number at a desired length. For example, the result of a scientific calculation might only require accuracy to a specific number of significant digits. This method does one of the following depending on if the value that the len argument contains is:
This method uses the same argument as the Convert Number to Exponential Notation method. For more information, see Table 88. FormatExampleThe following example uses the Convert Number to Precision method: var anumber = 123.45 |
![]() ![]() |
Siebel eScript Language Reference | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |