SPVM::Double(3)
π Name π
Okay bestie, this is SPVM::Double(3) from the User Contributed Perl Documentation manual, and it is literally A double value as An Object. No cap: SPVM::Double is the star of this page.
β¨ Description β¨
The Double class in SPVM represents a double value as an object. Itβs giving βtiny little wrapper with main character energyβ π
.
πΈ Usage πΈ
my $double_object = Double->new(5);
my $double_value = $double_object->value;
π¦ Details π¦
This class is immutable β once itβs made, it stays that way, periodt.
This class is automatically loaded β yes, she just shows up ready to go β¨.
π Interfaces π
Stringableβ thatβs the interface on the list, iykyk π
π Fields π
value π
has value : ro double;
The value. Thatβs the whole field vibe, bestie π.
π Class Methods π
new β
static method new : Double ($value : double);
Creates a new Double object with a double $value. Slay, object created π
.
π§ Instance Methods π§
to_string π
method to_string : string ();
Casts the value to string type and returns it. Cute, useful, iconic π₯.
π Copyright & License π
Copyright (c) 2023 Yuki Kimoto
MIT License
π
Sign-off: perl v5.42.2, 2026-02-03, SPVM::Double(3) β mwah, bye bestie! π«Ά
π¦ where this page comes from
- alpine 3.24: spvm-doc 0.990125-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms