neurot_1

08-20-2004, 01:03 AM

Hi everyone,

I need some help with math. stuff because I am not too proficient with it.

If i have this equation:

1 - (1+b)n

(where n is an exponent)

how does it translate in javascript?

Also, is there a way to round up to the upper thousand value?

Like if I have a result that is $12867, if I round it up to the nearest thousand, my result is going to be $13000.

It sounds a bit tricky to do.

Any help would be much appreciated, thanks!

I need some help with math. stuff because I am not too proficient with it.

If i have this equation:

1 - (1+b)n

(where n is an exponent)

how does it translate in javascript?

Also, is there a way to round up to the upper thousand value?

Like if I have a result that is $12867, if I round it up to the nearest thousand, my result is going to be $13000.

It sounds a bit tricky to do.

Any help would be much appreciated, thanks!