Floor

From FFXI Wiki
Revision as of 14:31, 19 May 2011 by Byrthnoth (talk | contribs) (Created page with "To "floor()" something generally means that you drop the decimals after a certain point. This function seems to be applied at some stage to all expressions in FFXI. So, for insta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To "floor()" something generally means that you drop the decimals after a certain point. This function seems to be applied at some stage to all expressions in FFXI. So, for instance, TP is floored. Damage calculations are floored, often in multiple places. Generally, and with the notable exception of TP, "Flooring" in FFXI means you drop all the decimals.

The Microsoft Excel version of this function, which follows the same formatting that people generally use with FFXI math, is formatted "floor(Number or Expression, Significance)"

Number or Expression would be the value that you want to limit to a certain number of decimal places, and Significance is that number of decimal places. Because FFXI seems to default to dropping all the decimals, if you don't see a "Significance" you can assume it to be 1 (dropping all the decimals).

Examples:

  • floor(4.56, 0.1) = 4.5
  • floor(5×1.31, 0.1) = 6.5
  • floor( (176+190)*(1-30%), 1.0) = 256