def _isInt(x, precision = <NUM_LIT>):
xInt = int(round(x))<EOL>return (abs(x - xInt) < precision * x, xInt)<EOL>
Return (isInt, intValue) for a given floating point number.

Parameters:
----------------------------------------------------------------------
x:  floating point number to evaluate
precision: desired precision
retval:   (isInt, intValue)
          isInt: True if x is close enough to an integer value
          intValue: x as an integer