File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / bcmath / tests / bcscale_variation001.phpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:47:53 2012 UTC (12 years, 6 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

--TEST--
bcscale() with negative argument
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--INI--
bcmath.scale=0
--FILE--
<?php
bcscale(-4);
echo bcdiv("20.56", "4");
?>
--EXPECTF--
5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>