The method of rounding is controlled by the optional last parameter as shown in the table below. The last three columns indicate the result of rounding three example numbers to one decimal place. Rounding a negative number returns exactly the same result as rounding the corresponding positive number and making the result negative. The method of rounding is controlled by the optional last parameter as described in detail above in the description of the global function round . The string produced by this function has the form -xxx.yyy where the xxx and yyy are integers to the left and right of the decimal.
Digits only appear if necessary.
For more elaborate formatting, use an RWDecimalFormat object. Results may be inexact. Returns the minimum value that can be represented by this class. The minimum value -1 will always generate an overflow error. This type of error most often indicates the use of an arithmetic operation that will cause loss of precision in the result.