|
|
|
|
|
by rorrr2
4648 days ago
|
|
Why would you do this for numbers? How is $number = new Number(6.9);
echo $number->ceiling() // 7
->max(array(5, 9, 49.1)) // 49.1
->floor() // 49
->sqrt() // Value
->value(); // Get raw value rather than string
better than writing it in actual functions? sqrt(
floor(
max(
5, 9, 49.1, ceil(6.9)
)
)
)
|
|