(PHP 3, PHP 4 )
bccomp -- 두 arbitrary precision number 비교
설명
int
bccomp ( string left operand, string right operand [, int scale])
left operand와
right operand를 비교해서 정수형의 값을 반환합니다.
선택사항인 scale는 소수 몇자리까지 비교할지 정합니다. 두 값이 같을 경우 0,left operand
가right operand보다 크면 +1,left operand
가right operand보다 크면 -1을
반환합니다.