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
)
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
)