Number
- Kind
- struct
- Module
Number
Source: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
The entries of Number in the Crystal reference. This page has 38 cards.
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
*(other : BigFloat) : BigFloat
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
+(other : BigFloat)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
-(other : BigFloat)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
/(other : BigFloat) : BigFloat
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
//(other)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
<=>(other) : Int32 | Nil
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
==(other : Complex)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
abs
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
abs2
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
cis
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
divmod(number)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
format(io : IO, separator = '.', delimiter = ',', decimal_places : Int | Nil = nil, *, group : Int = 3, only_significant : Bool = false) : Nil
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
hash(hasher)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
humanize(io : IO, precision = 3, separator = '.', delimiter = ',', *, base = 10 ** 3, significant = true, unit_separator = nil, prefixes : Indexable = SI_PREFIXES) : Nil
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
i
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
integer?
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
negative?
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
positive?
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
round(mode : RoundingMode = :ties_even) : self
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
sign
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
significant(digits, base = 10)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
step(*, to limit = nil, exclusive : Bool = false, &) : Nil
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_big_f
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_c
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_yaml(yaml : YAML::Nodes::Builder) : Nil
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
zero?
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
[](*nums)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
additive_identity
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
multiplicative_identity
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
si_prefix(magnitude : Int, prefixes = SI_PREFIXES) : Char | Nil
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
slice(*nums, read_only = false)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
static_array(*nums)
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
zero
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
NumberSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.