Originally Posted by harvind
First, command line arguments are String values. Do you know how to parse (convert) a String into an int?
Second, in the Java SE framework there is no method to "round" a number at multiples of the unit (eg. 10, 100 etc..). There are rounding methods in Math class but they round at decimals level. The rounding at multiples of 10 is up to you and there is more than one possibility. All you need are the standard operators / % +. Eventually with a test using an if.
Try and post your code and ask for eventual problems.