[quote=@Host] Math.round() Or (int)(myDouble) in order to cut off the value at the decimal. Printf is difficult. [/quote] Hey at least he didn't write a separate program to find a single square root when there was already a function to do that in the language.