Skip to content

Getting to two decimal places with Java

A student wrote in today asking about using Math.round() and getting results to two decimal places. Two links that describe the old multiply by 100 and then divide by 100 method are

And here is one that describes displaying a result to two decimal places, rounded or not, http://www.gamedev.net/community/forums/topic.asp?topic_id=390114

Post a Comment

Your email is never published nor shared. Required fields are marked *