method

sqrt

v1_9_3_125 - Show latest stable - Class: BigMath
sqrt(x,prec)
public

Computes the square root of x to the specified number of digits of precision.

BigDecimal.new(‘2’).sqrt(16).to_s -> “0.14142135623730950488016887242096975E1”