Static Public Member Functions | Static Public Attributes

Zend_Locale_Math_PhpMath Class Reference

Inheritance diagram for Zend_Locale_Math_PhpMath:
Zend_Locale_Math

Static Public Member Functions

static disable ()
static Add ($op1, $op2, $scale=null)
static Sub ($op1, $op2, $scale=null)
static Pow ($op1, $op2, $scale=null)
static Mul ($op1, $op2, $scale=null)
static Div ($op1, $op2, $scale=null)
static Sqrt ($op1, $scale=null)
static Mod ($op1, $op2)
static Comp ($op1, $op2, $scale=null)
static Scale ($scale)

Static Public Attributes

static $defaultScale
static $defaultPrecision

Detailed Description

Definition at line 34 of file PhpMath.php.


Member Function Documentation

static Add ( op1,
op2,
scale = null 
) [static]

BCAdd - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
string$op2
integer$scale
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 57 of file PhpMath.php.

static Comp ( op1,
op2,
scale = null 
) [static]

BCComp - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
string$op2
integer$scale
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 209 of file PhpMath.php.

static Div ( op1,
op2,
scale = null 
) [static]

BCDiv - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
string$op2
integer$scale
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 145 of file PhpMath.php.

static Mod ( op1,
op2 
) [static]

BCMod - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
string$op2
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 187 of file PhpMath.php.

static Mul ( op1,
op2,
scale = null 
) [static]

BCMul - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
string$op2
integer$scale
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 125 of file PhpMath.php.

static Pow ( op1,
op2,
scale = null 
) [static]

BCPow - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
string$op2
integer$scale
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 103 of file PhpMath.php.

static Sqrt ( op1,
scale = null 
) [static]

BCSqrt - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
integer$scale
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 169 of file PhpMath.php.

static Sub ( op1,
op2,
scale = null 
) [static]

BCSub - fixes a problem of BCMath and exponential numbers

Parameters:
string$op1
string$op2
integer$scale
Returns:
string

Reimplemented from Zend_Locale_Math.

Definition at line 80 of file PhpMath.php.


The documentation for this class was generated from the following file: