Adding a decimal place

This is probably simple to someone, but how would i add a decimal place to a number like 1248725, so it would look like 1248.725 . i need to use both numbers in my code, the first number for control and the number with the decimal for display purposes.

I have tried all sorts to do it, but i'm not getting the result i want.

Thanks.

Shaped:
This is probably simple to someone, but how would i add a decimal place to a number like 1248725, so it would look like 1248.725 . i need to use both numbers in my code, the first number for control and the number with the decimal for display purposes.

I have tried all sorts to do it, but i'm not getting the result i want.

Thanks.

long number = 1248725;
int leftOfDecimal = number / 1000;    // 1248
int rightOfDecimal = number % 1000;  // 725

Told ya it would be simple to someone..
Thanks a lot.