Adding Decimal place into number with javascript

Viewed 42373

I've got this number as a integer 439980

and I'd like to place a decimal place in 2 places from the right. to make it 4399.80

the number of characters can change any time, so i always need it to be 2 decimal places from the right.

how would I go about this?

thanks

2 Answers
Related