NAME

SPVM::Float - Float object

SYNOPSYS

use Float;

my $float_object = Float->new(0.25f);
my $float_value = $float_object->value;

DESCRIPTION

Float object stores a float value.

This object is immutable and its value cannot be changed.

Float is automatically loaded just after the program starts.

CLASS METHODS

new

static method new : Float ($value : float)

Create a new Float object with a float value.

INSTANCE METHODS

value

method value : float ()

Get a float value.