Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

I think the issue may be that the Math module needs to be capitalized, try

Math.sqrt(4)

http://ruby-doc.org/core-2.0.0/Math.html#method-c-sqrt