You're viewing old version number 1. - Current version

Testing the new Junco calc command

This simply uses the Perl eval command to process an arithmetic string.

Format: calc = arithmetic expression.

[calc] (5+3) / 2
= 4

Produces

[calc] (5+5) / 2
= 5

Need to work out the formatting kinks a little, but if I want a quick calculation, this will suffice.

#junco

From JR's : articles
50 words - 284 chars
created on - #
source - versions



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 15, 2024 - 4:20 a.m. EST