--TEST-- Sybase-CT bug #29064 (Exact numeric/decimal/money datatypes lose precision) --SKIPIF-- --FILE-- --EXPECTF-- bool(true) bool(true) bool(true) >>> Query: select * from #test <<< Return: resource array(2) { [0]=> array(10) { ["test_decimal"]=> string(39) "12345678901234567890123456789012.123456" ["test_numeric"]=> string(39) "12345678901234567890123456.123456789012" ["test_money"]=> string(18) "123456789012345.12" ["test_bigint"]=> string(38) "12345678901234567890123456789012345678" ["test_int"]=> int(1234567890) ["test_smallmoney"]=> float(123456.12) ["test_smallint"]=> int(12345) ["test_tinyint"]=> int(123) ["test_real"]=> string(18) "123456789.12345679" ["test_double"]=> string(18) "123456789.12345679" } [1]=> array(10) { ["test_decimal"]=> string(40) "-12345678901234567890123456789012.123456" ["test_numeric"]=> string(40) "-12345678901234567890123456.123456789012" ["test_money"]=> string(19) "-123456789012345.12" ["test_bigint"]=> string(39) "-12345678901234567890123456789012345678" ["test_int"]=> int(-1234567890) ["test_smallmoney"]=> float(-123456.12) ["test_smallint"]=> int(-12345) ["test_tinyint"]=> int(255) ["test_real"]=> string(19) "-123456789.12345679" ["test_double"]=> string(19) "-123456789.12345679" } } bool(true)