Does Kotlin have it's own function for rounding up when a number is greater than zero, but rounding down when a number is less than zero?

前端 未结 0 358
生来不讨喜
生来不讨喜 2020-12-08 09:31

Prepended: I just found a similar question about Java. This question is the exact same as that except about Kotlin. This means I would prefer not referencing any Java code a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题