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

Revision history [back]

click to hide/show revision 1
initial version

Using Math Functions in Ruby Scripts

I am looking to calculate a square root in a measure I'm writing, but the math.sqrt() method does not work. Is there a way to include Ruby's Math module when writing measures or is there another way to use the higher level math functions?

Using Math Functions in Ruby Scripts

I am looking to calculate a square root in a measure I'm writing, but the math.sqrt() method does not work. Is there a way to include Ruby's Math module when writing measures or is there another way to use the higher level math functions?

Using Math Functions in Ruby Scripts

I am looking to calculate a square root in a measure I'm writing, but the math.sqrt() method does not work. Is there a way to include Ruby's Math module when writing measures or is there another way to use the higher level math functions?