src/Malenki/Math/Stats/NormalDistribution.php
public function precision($n)
    {
        if (!is_numeric($n) || $n < 0) {
            throw new \InvalidArgumentException('Precision must be positive number');
        }

        $this->int_precision = (integer) $n;
    }
public function precision($n)
    {
        if (!is_numeric($n) || $n < 0) {
            throw new \InvalidArgumentException('Precision must be positive number');
        }

        $this->int_precision = (integer) $n;
    }
public function precision ( $ n ) { if ( ! is_numeric ( $ n ) || $ n < 0 ) { throw new \ InvalidArgumentException ( 'Precision must be positive number' ) ; } $ this -> int_precision = ( integer ) $ n ; }
Set precision for all returned results.

@param  integer $n Give number of digits for the mantis
@access public
@return void
Set precision for all returned results .