Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#elixir

Floats in Elixir are 64-bit double precision.

You can invoke the round function to get the closest integer to a given float, or the trunc function to get the integer part of a float.

If you want to change selection, open document below and click on "Move attachment"

Basic types - The Elixir programming language
ex> 0b1010 10 iex> 0o777 511 iex> 0x1F 31 Float numbers require a dot followed by at least one digit and also support e for scientific notation: iex> 1.0 1.0 iex> 1.0e-10 1.0e-10 <span>Floats in Elixir are 64-bit double precision. You can invoke the round function to get the closest integer to a given float, or the trunc function to get the integer part of a float. iex> round(3.58) 4 iex> trunc(3.58) 3 Identifying functions and documentation Functions in Elixir are identified by both their name and their arity. The arity of a function descri


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.