NumberUtil Class Reference

Static Public Member Functions

static divisionForZero ($dividend, $divisor)

Detailed Description

Helper functionality for use working with numbers

Definition at line 40 of file NumberUtil.php.


Member Function Documentation

static divisionForZero ( dividend,
divisor 
) [static]

Given a number and a number to divide by, resolve if 0 since you can't divide when 0.

Parameters:
numeric | string $dividend
numeric | string $divisor
Returns:
int

Definition at line 48 of file NumberUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Sep 20 07:10:26 2017