ID:155927
 
Hey there, it's me again..

Im trying to calculate some experience stuff in byond.
Now i found it odd that the results where not the same as when i use my calculator. and after some research, i found that BYOND makes 1.1 = 2 ??? :o

Is there a way to disable this?
NOTE: I am not using the round() proc.

Oh.. some more research shows that it's only on calculations with exponents that give these results.

so 2^0.5 = 1.414 in the real world.
2^0.5 = 2 in BYOND.

any solutions for this or is this something i'll have to live with? :)
^ is not the exponent operator. You want **

^ is actually the binary XOR operator.
In response to DarkCampainger
thanks :P