mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 13:46:09 +00:00
chore: version change and some forgotten files :P
This commit is contained in:
+4
-4
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user