Flowdock
method

PI

Importance_1
PI(prec) public

Computes the value of pi to the specified number of digits of precision, numeric.

BigMath.PI(10).to_s
#=> "0.3141592653589793238462643388813853786957412e1"
Show source
Register or log in to add new notes.