12 May 2022 09:34:30 UTC
- Distribution: Number-Equation
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (326 / 0 / 0)
- KwaliteeBus factor: 1
- 88.04% Coverage
- License: artistic_2
- Perl: v5.6.0
- Activity24 month
- Download (4.55KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionLNATION Robert Acock 🤞🌏
Number::Equation - Track how a number is calculated progamically.
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.
<email at lnation.org>
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
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
Module Install Instructions
To install Number::Equation, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Number::Equation
For more information on module installation, please visit the detailed CPAN module installation guide.