struct NumberValue

Defined in:

interpreter/runtime_object_types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : Int64 | Int32 | Float64 | Float32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(value _value = @value) #

[View source]
def value : Int64 | Int32 | Float64 | Float32 #