Spy Journal 3.0 - ROUND
https://www.spyjournal.biz/taxonomy/term/314/0
enExcel Function of the Week - ROUND
https://www.spyjournal.biz/excel/ROUND
<p>The round function enables you to truncate values to the number of decimal places you desire. This could be in fractions of a whole value e.g. hundredths and thousandths of whole number, or as large numbers, e.g. rounding to the closest million or billion.</p>
<p>There are some very similar functions, ROUNDUP, ROUNDDOWN and MROUND. In addition there are some complimentary functions such as FLOOR and CEILING.</p>
<p>These functions all perform the same way with specific variations. Round follows the 4/5 round principle. That is if the number ends in 4 or lower it rounds down, and if it ends in 5 or higher it rounds up.</p>
<p><a href="http://www.spyjournal.biz/files/image_81.png"><img title="image" height="316" alt="image" src="http://www.spyjournal.biz/files/image_thumb_84.png" width="594" border="0" /></a> </p>
<p>The syntax is to have the number followed being rounded (or a link to it) followed by a number that represents the way you want to round the number. The number of digits is expressed as a positive value for decimal places (numbers between 1 or –1 and zero) and a negative number for values greater than zero.</p>
<p>Specifically it should be zero to round to a whole number, and a negative number to round into tens, hundreds, thousands etc. The way to work it out is to think how many numbers either side of the decimal point you want to round to. Negative numbers are to the left, and positive numbers to the right.</p>
<p>Here are some examples:</p>
<ul>
<li>If you want to truncate long calculated decimal place values back to 2 places try =ROUND(A1,2)</li>
<li>If you want to round a value to a whole number try =ROUND(A1,0)</li>
<li>To round a number to the closest 10,000, use =ROUND(A1,-4)</li>
</ul>
<p>Some specific notes from Excel Help.</p>
<ul>
<li>If num_digits is greater than 0 (zero), then number is rounded to the specified number of decimal places.</li>
<li>If num_digits is 0, the number is rounded to the nearest integer.</li>
<li>If num_digits is less than 0, the number is rounded to the left of the decimal point.</li>
<li>To always round up (away from zero), use the ROUNDUP function.</li>
<li>To always round down (toward zero), use the ROUNDDOWN function.</li>
<li>To round a number to a specific multiple (for example, to round to the nearest 0.5), use the MROUND function.</li>
</ul>
https://www.spyjournal.biz/excel/ROUND#commentsExcelROUNDhttps://www.spyjournal.biz/crss/node/944Mon, 27 Oct 2008 04:58:40 +0000jethro944 at https://www.spyjournal.biz