Java doesn't know how to multiply? What? [duplicate]

That is double’s precision. You could use

cookies = Math.round( cookies * 100.0 ) / 100.0;

Browse More Popular Posts

Leave a Comment