Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tommsy64/consolecalculator

A simple Console Calculator
https://github.com/tommsy64/consolecalculator

Last synced: about 1 month ago
JSON representation

A simple Console Calculator

Awesome Lists containing this project

README

        

ConsoleCalculator
=================

A Console Calculator that will tokenize and calculate mathematical input.

Example:

Input: 1+1
Output: 1.0 + 1.0 = 2.0

Input: -3*2/3*(294+123/321*456-607691/5*0.5+51238)-18123.7420560747705
Output: -3.0 * 2.0 / 3.0 * ( 294.0 + 123.0 / 321.0 * 456.0 - 607691.0 / 5.0 * 0.5 + 51238.0 ) - 18123.74205607477 = 1.0