Name

SPVM::Double - The double Object

Description

The Double class has methods to manipulate an object that has a double value.

This class is immutable.

This class is automatically loaded.

Usage

my $double_object = Double->new(5);
my $double_value = $double_object->value;

Fields

value

has value : ro double;

The value.

Class Methods

new

static method new : Double ($value : double);

Creates a new Double object with a double $value.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License