Conversions
From Coder Merlin
Revision as of 17:33, 7 November 2019 by Chukwuemeka-tinashe (talk | contribs) (Created page with "thumb|Boeing, N780BA, B747-409(LCF) Dreamlifter == Prerequisites == * W1031 Positive Integers *...")
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Prerequisites[edit]
Introduction[edit]
In some cases we have a value of one type but want to use it in another context, as a different type. Depending on language, this may be referred to as "type conversion", "type casting", or "type coercion". Often, type casting refers to the mere re-interpretation of existing bits, while type conversion creates a new representation of data as a different type.
Type Casting[edit]
Type Conversion[edit]
Topic Headers[edit]
Key Concepts[edit]
Exercises[edit]
References[edit]
- Type Conversion (Wikipedia)
- Type Casting (Swift Documentation)