[quote=@Host] Math.round() Or (int)(myDouble) in order to cut off the value at the decimal. Printf is difficult. [/quote] It was the first thing I thought of because the professor recently made a point on how great printf is.