public static bool Approximately (float a, float b);. 描述. 比较两个浮点值,如果它们相似,则返回true。 浮点不精确性使得使用相等运算符比较浮点数不精确。
確定! 回上一頁