what causes truncation?
to limit the number of digits after the decimal point in computer science and mathematics. This is done by discarding the least significant ones.
Example: Consider real numbers in mathematics like:
4.2131654545548
78.546541158
32.25145025051
now if you want to truncate these numbers to say 2 decimal digits, we consider the 2 digits to the right of the decimal point resulting in:
4.21
78.54
32.35
CAREFUL:
Truncation is not the same as rounding, but truncation does not round up nor down the digits; it just merely cuts off at the specified digit like that example.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More