Skip to content

Commit

Permalink
Add float variants to numeric constants
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Apr 2, 2020
1 parent 1205928 commit 1428f53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Numeric/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 1428f53

Please sign in to comment.