Re: [PHP] Round help needed

2012-09-28 Thread Jay Blanchard
On 9/27/2012 10:05 PM, Chris Payne wrote: Hi everyone, I'm having one of those nights where nothing is working, please help What I have is this: $rounded_number = round($test, -3); Here's the problem i'm having, I need it to increment to the nearest 1000 but it seems to only work if the numbe

Re: [PHP] Round help needed

2012-09-27 Thread Daniel Brown
On Thu, Sep 27, 2012 at 11:05 PM, Chris Payne wrote: > Hi everyone, > > I'm having one of those nights where nothing is working, please help > > What I have is this: > > $rounded_number = round($test, -3); > > Here's the problem i'm having, I need it to increment to the nearest 1000 > but it seems