Clamp one number between a min and max.
MIT License
// $number = clamp($value, $min, $max); clamp(10, 1, 100); // => 10 clamp(10, 1, 5); // 5 clamp(-10, 1, 5); // 1
PHP Clamp is licensed under The MIT License (MIT).
[php-lib] Utility library for numerics. Float versions of ceil(), floor() and rand() with precisi...
Arbitrary-precision arithmetic library for PHP
PHP library containing math related code used in PocketMine-MP
An object-oriented implementation of basic math operation with arbitrary precision, using BC Math...
Validators for CPF and CNPJ for PHP
Mustache PHP Extension
Простой класс на PHP 7.2+, позволяющий выполнять задачи в нескольких параллельных потоках исполне...
Bcmath based math helper for high precision base 10 decimal calculus
php ClickHouse wrapper
A powerful and elegant stand-alone validation library with no dependencies.
A PHP library for formatting and manipulating numbers.
A mathematics helpers, providing functionality for numbers converter.
Write float number in a word number.
PHP 5.3+ library for arithmetic operations on integers that wraps around upon overflow.
🚫 NotAllowed 🚫 =>A lightweight library that helps you to censor words, profane words, banned IPs,...