toshog wrote:no.. i have:
precision = 12.
The default is 14, but neither is enough to display an eighteen-digit number with eighteen digits of precision. precision=12 rounds the display off to twelve digits of precision.
but these are real numbers, there is no decimal points....
There are decimal points: 1000000000000000000 is too large to fit into an integer so PHP converts it to a double (unless your old machine had a 64-bit processor and a custom-compiled 64-bit version of PHP, while the new version is only 32-bit).
Are you actually doing arithmetic here, or just padding a string of digits? If it's the latter then you should just treat it as a string. If it is arithmetic, see my previous post.
You know 5.3 is already out, don't you?