Difference between revisions of "Truncate"

From Earth Empires Wiki
Jump to: navigation, search
m
 
Line 6: Line 6:
  
 
[[Formulae]] that use truncating include the [[population growth]] formula, the [[networth formula]], and others.
 
[[Formulae]] that use truncating include the [[population growth]] formula, the [[networth formula]], and others.
 +
[[Category:Terminology]]

Latest revision as of 19:35, 4 December 2010

In Earth Empires math, truncating refers to removing the non-integer part of a real number, without any rounding. For example:

  • 1.1 becomes 1
  • 5.7 becomes 5
  • 0.999 becomes 0

Formulae that use truncating include the population growth formula, the networth formula, and others.