From 1428f53735f65caa8d6c02fd0ee7c04c502805ea Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 2 Apr 2020 22:40:31 +0200 Subject: [PATCH] Add float variants to numeric constants --- src/Numeric/constants.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Numeric/constants.php b/src/Numeric/constants.php index ef44e91..e68022b 100644 --- a/src/Numeric/constants.php +++ b/src/Numeric/constants.php @@ -3,5 +3,8 @@ namespace WyriHaximus\Constants\Numeric; const ZERO = 0; +const ZERO_FLOAT = 0.0; const ONE = 1; +const ONE_FLOAT = 1.0; const TWO = 2; +const TWO_FLOAT = 2.0;