In databases and computer networking data truncation occurs when data or a data stream (such as a file) is stored in a location too short to hold its entire length. Data truncation may occur automatically, such as when a long string is written to a smaller buffer, or deliberately, when only a portion of the data is wanted.
For example, sometimes instead of rounding off a numerical value obtained from a calculated, some of the digits might just be removed i.e. truncated
|This computer science article is a stub. You can help Wikipedia by expanding it.|