Rn
From Sagataflwiki
(Difference between revisions)
Peter Knutsen (Talk | contribs)
(Created page with 'rn, often shown as (rn), means "round normally", meaning round to the nearest whole number. == Examples =) 1.4 rounds to 1. 1.5 rounds to 1. -1.4 rounds to -1. -1.5 rounds to -2 …')
(Created page with 'rn, often shown as (rn), means "round normally", meaning round to the nearest whole number. == Examples =) 1.4 rounds to 1. 1.5 rounds to 1. -1.4 rounds to -1. -1.5 rounds to -2 …')
Latest revision as of 13:11, 19 July 2010
rn, often shown as (rn), means "round normally", meaning round to the nearest whole number. == Examples =) 1.4 rounds to 1. 1.5 rounds to 1. -1.4 rounds to -1. -1.5 rounds to -2 (for exact halves, round away from zero).
See also
ru which means round up to nearest whole number, but still away from zero, e.g. 1.001 rounds up to 2. rdo which means round down to nearest whole number, and away from zero. Not to be confused with RD. r1d Which means round the final value up to the nearest one decimal, e.g. 1.33 becomes 1.4. Used for all Essence calculations (but not micro-Essence, mES). Essence calculations can never involve negative numbers.