Re: [PHP] Numeric help needed

2012-01-15 Thread Curtis Maurand
On 1/15/2012 9:24 PM, Robert Williams wrote: On Jan 15, 2012, at 19:00, "Simon J Welsh"mailto:si...@welsh.co.nz>> wrote: On 16/01/2012, at 2:48 PM, Chris Payne wrote: "If the loan amount is $68500.00, the insurace will be based on $69000.00 as the amount is always rounded up to the next $100

Re: [PHP] Numeric help needed

2012-01-15 Thread Robert Williams
On Jan 15, 2012, at 19:00, "Simon J Welsh" mailto:si...@welsh.co.nz>> wrote: On 16/01/2012, at 2:48 PM, Chris Payne wrote: "If the loan amount is $68500.00, the insurace will be based on $69000.00 as the amount is always rounded up to the next $1000." The round() function only rounds decimal va

Re: [PHP] Numeric help needed

2012-01-15 Thread Curtis Maurand
On 1/15/2012 8:48 PM, Chris Payne wrote: Hi Jason, I've tried lots of different things, including: echo "" . round(68500, 1000) . " ROUNDED"; thinking that might be it, but i'm stumped This is the example I was given (And have to go by): "If the loan amount is $68500.00, the insurace will

Re: [PHP] Numeric help needed

2012-01-15 Thread Simon J Welsh
On 16/01/2012, at 2:48 PM, Chris Payne wrote: > Hi Jason, > > I've tried lots of different things, including: > > echo "" . round(68500, 1000) . " ROUNDED"; > > thinking that might be it, but i'm stumped > > This is the example I was given (And have to go by): > > "If the loan amount is $6850

Re: [PHP] Numeric help needed

2012-01-15 Thread Chris Payne
Hi Jason, I've tried lots of different things, including: echo "" . round(68500, 1000) . " ROUNDED"; thinking that might be it, but i'm stumped This is the example I was given (And have to go by): "If the loan amount is $68500.00, the insurace will be based on $69000.00 as the amount is alway

Re: [PHP] Numeric help needed

2012-01-15 Thread Jason Pruim
Sent from my iPhone On Jan 15, 2012, at 8:25 PM, "Christopher J Payne" wrote: > Hi everyone, > > > > I am having a hard time with a numerical problem. > > > > I need to round some numbers up and I've tried $round($number) and it > doesn't work so I'm misunderstanding something. > > >