What side effects of changing precision are there?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
LostOne
Forum Newbie
Posts: 18
Joined: Wed Jul 28, 2004 3:21 pm
Location: Florida

What side effects of changing precision are there?

Post by LostOne »

I am changing the precision in the php.ini file to 20. We need to work (math) with LARGE numbers could there be any problems?
JasonMichael
Forum Newbie
Posts: 8
Joined: Fri Sep 24, 2004 1:19 pm

Post by JasonMichael »

I can't think of any problems you might run into. I did read something at this site where they say you should be using PHP's 'binary calculator' functions to do any math with large numbers that need precision handling:

http://www.onlamp.com/pub/a/php/excerpt ... tml?page=3
Post Reply