Forum und email

bcadd

(PHP 4, PHP 5)

bcadd — 두개의 임의 정확도 수를 더한다

설명

string bcadd ( string $left_operand , string $right_operand [, int $scale ] )

left_operandright_operand 와 더하고 결과를 문자열로 반환한다. 선택적인 scale 매개변수는 결과값에서 소수점 이하의 자릿수를 정하는데 사용된다.

bcsub() 참고.