Re: Fix Credits [message #403261 is a reply to message #403239] |
Sat, 19 September 2009 09:09 |
|
Jerad Gray wrote on Sat, 19 September 2009 09:26 | Yeah its a float, sorry for saying int, and dang I keep forgetting to see if I can replicate it, I'll try tonight.
Okay, it doesn't seem to flip negative until it exceeds 9 digits, so it doesn't like 1,000,000,000 and more, so I have no clue why I was seeing the error of it flipping negative so soon, and adding numbers like 0.1 too it works perfectly fine too, so it might have been like what StealthEye said and maybe the server I was on did some bad division or something. Furthermore, I was happy to see that Ren doesn't round up, as rounding up the display and not the actual value would make it impossible to buy things (IE says 400 at the bottom of the screen but you really have 399.9).
|
Which is why using an int and div instead of floating divide would be faster...
Forgot points are also floating, could just take the integer part of them, though.
Renguard is a wonderful initiative
Toggle Spoiler
BBC news, quoting... |
Supporters of Proposition 8 will argue California does not discriminate against gays, as the current law allows them to get married - as long as they wed a partner of the opposite sex.
|
halokid wrote on Mon, 11 October 2010 08:46 |
R315r4z0r wrote on Mon, 11 October 2010 15:35 |
|
the hell is that?
|
[Updated on: Sat, 19 September 2009 09:10] Report message to a moderator
|
|
|