The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Venus::Float - Float Class

ABSTRACT

Float Class for Perl 5

SYNOPSIS

  package main;

  use Venus::Float;

  my $float = Venus::Float->new(1.23);

  # $float->int;

DESCRIPTION

This package provides methods for manipulating float data.

INHERITS

This package inherits behaviors from:

Venus::Number

METHODS

This package provides the following methods:

default

  default() (Str)

The default method returns the default value, i.e. 0.0.

Since 0.01

default example 1
  # given: synopsis;

  my $default = $float->default;

  # "0.0"

AUTHORS

Cpanery, cpanery@cpan.org

LICENSE

Copyright (C) 2021, Cpanery

Read the "license" file.