bccomp(PHP 4, PHP 5) bccomp — Compare two arbitrary precision numbers Описание
int bccomp
( string $left_operand
, string $right_operand
[, int $scale
] )
Compares the left_operand to the right_operand and returns the result as an integer. Список параметров
Возвращаемые значенияReturns 0 if the two operands are equal, 1 if the left_operand is larger than the right_operand , -1 otherwise. ПримерыПример #1 bccomp() example
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |