Conversion between data types

We often need to convert data from one type to another in order to leverage existing library functions. A great working example would be the standard numerical data types. It is a common use case to convert a piece of date from an integer to a floating-point number in most mathematical functions.

In this section, we will learn about how data type conversion is performed in Julia. As it turns out, data type conversions are expected to be implemented explicitly; however, a set of rules has been implemented so that some conversions are automatically invoked.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.200.180