Return to Snippet

Revision: 26730
at May 8, 2010 13:11 by bjoernwilmsmannde


Updated Code
if (Math.sqrt((firstValue - secondValue)**2) > thirdValue) {
  ...
}

Revision: 26729
at May 8, 2010 13:02 by bjoernwilmsmannde


Initial Code
Math.sqrt((firstValue - secondValue)**2) > thirdValue

Initial URL

                                

Initial Description

                                

Initial Title
Comparing two values using the absolute value of their difference

Initial Tags
number

Initial Language
Groovy