Type Conversions

This lesson highlights the process of converting one data type to another.

We'll cover the following

Reason is very flexible in allowing type conversions. There are some conversion methods that work with certain types. Examples of this are the Char.chr() and Char.code() facilitated conversions solely between integers and characters.

Another example is the String.make() method which converts a character into a string:

Get hands-on with 1400+ tech skills courses.