de.congrace.exp4j
Class CommandlineInterpreter

java.lang.Object
  extended by de.congrace.exp4j.CommandlineInterpreter

public class CommandlineInterpreter
extends Object

Simple commandline interpreter for mathematical expressions the interpreter takes a mathematical expressions as a String argument, evaluates it and prints out the result.

 java de.congrace.exp4j.CommandlineInterpreter "2 * log(2.2223) - ((2-3.221) * 14.232^2)"
 > 248.91042049521056
 

Author:
fas@congrace.de

Constructor Summary
CommandlineInterpreter()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandlineInterpreter

public CommandlineInterpreter()
Method Detail

main

public static void main(String[] args)


Copyright © 2012. All Rights Reserved.