class FayrantLang::NumberValue

Defined in:

value.cr

Constructors

Instance Method Summary

Instance methods inherited from class FayrantLang::AnyValue

==(other) ==, get_boolean : Bool get_boolean, get_function : FunctionValue get_function, get_number : Float64 get_number, get_object : ObjectValue get_object, get_string : String get_string, to_string to_string, type : FayrantLang::ValueType type

Constructor methods inherited from class FayrantLang::AnyValue

new(type : ValueType) new

Constructor Detail

def self.new(value : Float64) #

[View source]

Instance Method Detail

def ==(other : NumberValue) #

[View source]
def get_number : Float64 #

[View source]
def to_string #

[View source]
def value : Float64 #

[View source]