Lines Matching full:value
14 * Clamps a value between a minimum and maximum value.
16 * This function takes a value and two boundary values (maximum and minimum).
17 * It ensures that the provided value does not exceed the boundaries.
18 * If the value is less than the minimum, the minimum is returned.
19 * If the value is greater than the maximum, the maximum is returned.
20 * Otherwise, the original value is returned.
53 $value = Asserts::assertNumber($number);
60 // check if the from value is a length
62 // make sure to value is too
66 $px = $value * Constants::LENGTH_BASES[$from_index];
79 $result = $value * 1000;
80 else $result = $value / 1000;
92 $deg = rad2deg($value);
95 $deg = $value * 360;
98 $deg = $value / (400 / 360);
101 $deg = $value;