I typed the code below in scala console and get the return:
scala> 1.0F to 5.0F by 1.3F
res10: scala.collection.immutable.NumericRange[Float] = NumericRange(1.0, 2.3, 3.6, 4.8999996)
why the ret is NumericRange(1.0, 2.3, 3.6, 4.8999996)
instead of NumericRange(1.0, 2.3, 3.6, 4.9)
?