Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/1.php on line 1

Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/0.php on line 1
PHP. Руководство по PHP. 2005 (создание и продвижение сайта)
создание и продвижение сайта (вбиваю в ТОП-10, как гвозди)Настройка и сопровождение платной рекламы яндекс.директ

PHP. Руководство по PHP. 2005

bcmod

Пред.

След.

bcmod

(PHP 3, PHP 4, PHP 5)bcmod -- Get modulus of an arbitrary precision number

Description

string bcmod (string left_operand, string modulus)

Get the modulus of the left_operand using modulus.

Примеры

Пример 1. bcmod() example

<?php

echo bcmod('4', '2'); // 0

echo bcmod('2', '4'); // 2

?>

Смотрите также

bcdiv().

Пред.

Начало

След.

bcdiv

Уровень выше

bcmul

Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.

Ваше письмо×
Free Web Hosting