round floating point to int - refs #1672