NumberUtil
A class of utilities for dealing with numbers.
Description Description
Source Source
File: src/Utilities/NumberUtil.php
Methods Methods
- round — Round a number using the built-in `round` function, but unless the value to round is numeric (a number or a string that can be parsed as a number), apply 'floatval' first to it (so it will convert it to 0 in most cases).