0
var a:Double = 7599
var b:Double = 7598

var x = a / 100 (75.98999999999999)
var y = b / 100 (75.98)

Can anyone tell me why y is calculating to 2 decimal places and more importantly why x isn't?

I basically use this function in a RoundUp and RoundDown function but it doesn't work for certain numbers.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
LateNate
  • 763
  • 9
  • 22

0 Answers0