BigSqrt$()


ans$ = BigSqrt$(x$ {, maxDigits, maxIterations})

This function returns the closest approximation of the square root of a Big Decimal number.

The optional maxDigits parameter specifies the maximum number of digits used in division during the approximation. The maxDigits is only used internally during the divide and limits repeating decimal places. If the answer can not be expressed in maxDigits then "ERROR" is returned.

The optional maxDigits parameter specifies the number of digits to the left of the decimal place to take the calculations to internally. If omitted maxDigits defaults to the current BigMaxDigits setting. The BigFixDecimal command will still control the format of the numbers returned by Big Decimal functions.

The optional maxIterations parameter specifies the maximum number of iterations to perform during the approximation. If omitted maxIterations defaults to 50.


For example:

Print BigSqrt$("16")

4


Big Decimals







Become a Patron