benaryorg / rust-cli_calculator

a calculator for the command line (written in Rust)
ISC License
0 stars 0 forks source link

negative numbers #1

Open benaryorg opened 9 years ago

benaryorg commented 9 years ago

At the moment it is not possible to use negative numbers.

What works:

$ calculator '1-1'
$ calculator '1-(0-1)'

What does not work:

$ calculator '1+-1'
$ calculator '1--1'
$ calculator '1/-1'