Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://oit.cmc.msu.ru/php/function.min.html
Дата изменения: Sun Feb 3 22:44:09 2002 Дата индексирования: Mon Oct 1 20:38:15 2012 Кодировка: |
min() returns the numerically lowest of the parameter values.
In the first variant, you need at least two parameters and min() returns the lowest of these values. You can compare an unlimited number of values.
In the second variant, min() returns the lowest value in numbers.
If one or more of the values is a float, all the values will be treated as floats, and a float is returned. If none of the values is a float, all of them will be treated as integers, and an integer is returned.