educative.io

Educative

Truncating and Rounding

What is the difference between truncating and rounding? How would the compiler solve an equation that you wouldn’t expect the answer to?