Exemplo n.º 1
0
    public function testSubbingWithBCMathAndExponent()
    {
        if (!extension_loaded('bcmath')) {
            $this->markTestSkipped('BCMath extension not loaded, test skipped');
            return;
        }

        $this->assertEquals('700', Math::Sub(1000, '0.3e3'));
    }