2012年11月3日 - In order to use the Math.round method you need to change only one line in your code: double inches = Math.round(centimeters / 2.54);. If you want to ...
stackoverflow.com