1

Possible Duplicate:
Truncate a decimal value in c++

How can I truncate some of the decimal digits of a rational number so that it has only 6 digits? (For example 1.2345678909876 to 1.23456)

Community
  • 1
  • 1
fpiro07
  • 847
  • 1
  • 13
  • 18

0 Answers0