Annotation of embedaddon/php/ext/bcmath/tests/bcsub.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: bcsub() function
! 3: --SKIPIF--
! 4: <?php if(!extension_loaded("bcmath")) print "skip"; ?>
! 5: --INI--
! 6: bcmath.scale=0
! 7: --FILE--
! 8: <?php
! 9: echo bcsub("1", "2"),"\n";
! 10: echo bcsub("-1", "5", 4),"\n";
! 11: echo bcsub("8728932001983192837219398127471", "1928372132132819737213", 2),"\n";
! 12: ?>
! 13: --EXPECT--
! 14: -1
! 15: -6.0000
! 16: 8728932000054820705086578390258.00
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>