Author image Robert Acock 🤞🌏

NAME

Number::Equation - Track how a number is calculated progamically.

VERSION

Version 0.02

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

        use Number::Equation;

        my $foo = Number::Equation->new(42);

        my $n = Number::Equation->new(42);
        $n = $n - 2;
        $n /= 10;
        $n *= 3;
        $n += 1;
        my $m = 1 / $n;
        print $m->equation; # (1 / ((((42 - 2) / 10) * 3) + 1)) = 0.0769230769230769


        my $n = Number::Equation->new(42, .01);
        $n = $n - 2;
        $n /= 10;
        $n *= 3;
        $n += 1;
        my $m = 1 / $n;
        print $m->equation; # (1 / ((((42 - 2) / 10) * 3) + 1)) ≈ 0.08

BETA: currently only add, subtract, multiply and divide operations are supported.

AUTHOR

LNATION, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-number-equation at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Number-Equation. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Number::Equation

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2022 by LNATION.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

1 POD Error

The following errors were encountered while parsing the POD:

Around line 125:

Non-ASCII character seen before =encoding in '≈'. Assuming UTF-8