sqrt(x,prec)
Instance Public methods
Computes the square root of x to the specified number of digits of precision.
BigDecimal.new('2').sqrt(16).to_s
-> "0.14142135623730950488016887242096975E1"
Computes the square root of x to the specified number of digits of precision.
BigDecimal.new('2').sqrt(16).to_s
-> "0.14142135623730950488016887242096975E1"
Please login to continue.