Please enable JavaScript to use CodeHS

CodeHS Glossary

Integer Division General

When two integers are divided, the decimal values are truncated, or chopped off. For example, 5 / 2 results in 2, instead of 2.5, the .5 is chopped off. Even if the decimal value is .999, it is chopped off, not rounded.