How long would it take a good coder to write a bullet-proof character-
cannon? Also…
Do I assume correctly that there are already parser functions
available that template authors can use in order to take a numeric
value between two pipes; e.g. “1.1234567”, and count the digits to
the left of the decimal point (the integer portion of the
significand), count the digits to the right of the decimal point (the
fractional portion), and separate off the fractional portion in
preparation for sending it to a character cannon? Is that right?
On Feb 3, 2009, at 9:40 AM, Aryeh Gregor wrote:
On Tue, Feb 3, 2009 at 12:38 PM, Artur Fijałkowski
<wiki.warx(a)gmail.com> wrote:
If anyone want to be sure that floor(4.99999999..) ==
5 he should use
floor(round()) not floor().
That defeats the point of using floor(). It would turn 4.6 into 5
also. In fact, floor(round(x)) is exactly the same thing as round(x).
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l