kotlin null safety
(1)Type mismatch: inferred type is Double? but Double was expected
写了一段 Android Koltin 的代码,做浮点数计算。但是编译时报错:
> Type mismatch: inferred type is Double? but Double was expected
出错的代码如下,
上一页
下一页