++ed by:
KES XYF BRDUCH FAYLAND ILUX
7 non-PAUSE users
Author image Yuki Kimoto

NAME

SPVM::Double - Double object

SYNOPSYS

  use SPVM::Double;
  
  my $double_object = SPVM::Double->new(0.25);
  my $double_value = $double_object->value;

DESCRIPTION

SPVM::Double object stores a double value.

This object is immutable and its value cannot be changed.

SPVM::Double is automatically loaded just after the program starts.

STATIC METHODS

new

  sub new : SPVM::Double ($value : double)

Create a new SPVM::Double object with a double value.

INSTANCE METHODS

value

  sub value : double ($self : self)

Get a double value.