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 oxygene...@gmail.com 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.

Re: [PHP] Numeric help needed

2012-01-15 Thread Chris Payne
Hi Jason, I've tried lots of different things, including: echo br . 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 always

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 br . 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

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 br . 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

Re: [PHP] Numeric help needed

2012-01-15 Thread Robert Williams
On Jan 15, 2012, at 19:00, Simon J Welsh si...@welsh.co.nzmailto: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

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 Welshsi...@welsh.co.nzmailto: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