abstract struct Number

Overview

The top-level number type.

Included Modules

Defined in:

patches/numbers.cr

Instance Method Summary

Instance Method Detail

def *(other : Units::AlgebraicUnit) #

[View source]
def +(other : Units::AlgebraicUnit) #

[View source]
def -(other : Units::AlgebraicUnit) #

[View source]
def /(other : Units::AlgebraicUnit) #

[View source]
def as_days #

[View source]
def as_feet #

[View source]
def as_ft #

[View source]
def as_hours #

[View source]
def as_hr #

[View source]
def as_in #

[View source]
def as_inches #

[View source]
def as_m #

[View source]
def as_meters #

[View source]
def as_min #

[View source]
def as_minutes #

[View source]
def as_s #

[View source]
def as_seconds #

[View source]
def as_yards #

[View source]
def as_yd #

[View source]
def as_years #

[View source]
def as_yr #

[View source]