bccomp比较二个高精确度数字-两个浮点数比较大小等
bccomp
比较二个高精确度数字。语法: int bccomp(string left operand, string right operand, int [scale]);返回值: 整数函数种类: 数学运算内容说明
此函数比较二个高精确度的数字。输入二个字符串,若二个字符串一样大则返回 0;
若左边的数字字符串 (left operand) 比右边 (right operand) 的大则返...
转载
2018-09-26 10:36:21 ·
801 阅读 ·
0 评论