de.congrace.exp4j
Class CommandlineInterpreter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandlineInterpreter
public CommandlineInterpreter()
main
public static void main(String[] args)
Copyright © 2012. All Rights Reserved.