PDA

View Full Version : Habbox Site habbox can't calculate



scottish
28-04-2014, 01:52 PM
using the habbox calculator, if anything is under 1.0 then it won't calculate lol..


so if you have 700x 0.25 stuff it's worth 0c according to it.

Kardan
28-04-2014, 01:55 PM
Sounds like it's only calculating with integers then.

scottish
28-04-2014, 02:07 PM
let's see my current list is at 2354c

if I add a maze divider (4.5c) it goes to 2358 so +4
if I add another (4.5c) it goes to 2362 so +4

so yeah you're right

LiquidLuck.
28-04-2014, 02:12 PM
x.5 amounts were only introduced last year and no only really uses the calculator, guess no one noticed..

Kardan
28-04-2014, 02:13 PM
Speaking with the little coding I've learnt on my maths degree, is it not a fix as simple as changing the variables from integer to something else like float?

Or are these things much more complex than basic C++? :P

GoldenMerc
28-04-2014, 02:20 PM
Speaking with the little coding I've learnt on my maths degree, is it not a fix as simple as changing the variables from integer to something else like float?

Or are these things much more complex than basic C++? :P
was hotelusers coding

Mr-Trainor
28-04-2014, 02:50 PM
Hmm I'm sure it worked for me when decimals were first allowed because I remember using the calculator and getting total figures that also had decimals. So maybe it broke between then and now?

scottish
28-04-2014, 02:57 PM
Speaking with the little coding I've learnt on my maths degree, is it not a fix as simple as changing the variables from integer to something else like float?

Or are these things much more complex than basic C++? :P

Depends how it's dealt with really

Presumably it's using int atm, could use real/double etc

Drew
28-04-2014, 03:17 PM
It should work properly now :)

Want to hide these adverts? Register an account for free!