Skip to content

Glossary: C Basics

Cast

Also written: casting, (double)x

Converting a value to another type by writing the type in parentheses. `(double)total / people` makes the division keep its fraction.

Where the book teaches it

Related terms

Integer divisionType