Casting to Int returns different value than FloorToInt for positive number in c#

前端 未结 0 1860
無奈伤痛
無奈伤痛 2020-12-04 02:51

Mathf.floorToInt is a function in Unity , but it is not relevant to the question.

FloorToInt returns the lowest int from the current float as expected. It works fine.

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