Click here to Skip to main content
15,908,264 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi.. If i have a double number like 9.216 how can i get the third number after the decimal which is (6) and put another number instead
Posted
Comments
Sergey Alexandrovich Kryukov 20-Mar-12 17:05pm    
Sorry, it sounds like gibberish. Could you explain what do you need in plain English or use proper technical terminology?
--SA
rasha.MSH 20-Mar-12 18:35pm    
i want to replace the third digit after the decimal to another one
for example
3.122 --to--> 3.125
9.102 --to--> 9.108

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900