Scala乘法十进制行为

时间:2019-01-16 11:29:18

标签: scala

有人能向我解释这种scala乘法行为吗?

Welcome to Scala 2.12.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_191).
Type in expressions for evaluation. Or try :help.

scala> 200 * 1.12
res0: Double = 224.00000000000003

0 个答案:

没有答案
相关问题