2021 | OriginalPaper | Chapter
Numbers
Author : Noel Kalicharan
Published in: Julia - Bit by Bit
Publisher: Springer International Publishing
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
In this chapter, we will explain the following: Integer data types - Int, Int32, Int64 Floating-point data types - Float32, Float64 How to read Int and Float values What happens when Int and Float values are mixed in the same expression What happens when we assign Int to Float and vice versa How to print an integer using a field width How to print a floating-point number to a required number of decimal places What happens when you use expressions with different types Assignment operators Updating operators The functions trunc, ceil, floor, round