Tag: approximation

将double翻转为int

我有一个来自int / int的数字(“double”)(例如10/3)。 什么是Excess逼近的最佳方法,并在C#上将其转换为int?