|
-
Aug 2nd, 2005, 10:55 PM
#1
Thread Starter
Hyperactive Member
Moving decimal
I am getting value of 40836.0 generating from another program. Now I wanted to move decimal at -3, turning it into 40.8. How do I do this with code?
I tried divididng by 1000 and I get round off to 41.0... Actually I want precise number "40.8. Anyone?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|