require 'bigdecimal'require 'bigdecimal/math'include BigMathtwo = BigDecimal("2")BigMath::sqrt(two, 10).round(10).to_s("F")# => "1.4142135624"