chore: version change and some forgotten files :P

This commit is contained in:
Martin Ambrus
2017-11-26 17:52:21 +01:00
parent cb148b9aec
commit d247e5fa27
4 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -15,18 +15,18 @@
namespace App\Utils;
/**
*
*
* Mathematics-related helpers.
*
*
* @author martinambrus
*
*/
class Math {
public static function isInt($val) {
return (is_numeric($val) && intval($val) === $val);
}
public static function isFloat($val) {
return (is_numeric($val) && floatval($val) === $val);
}