Greet 2014
Documentation for the GREET 2014 API
 All Classes Namespaces Functions Variables Enumerations Properties Events
Greet.ConvenienceLib.MathParse Class Reference

String parser that can evaluate forumlas entered as strings More...

Static Public Member Functions

static void Handle_Add_Sub (ref string str)
 
static void Handle_Booleans (ref string str)
 
static void Handle_Div_Mult (ref string str)
 
static void Handle_Functions (ref string str)
 
static void Handle_Paren (ref string str)
 
static void Handle_Pow (ref string str)
 
static void Handle_Scientific (ref string str)
 
static bool HasOps (ref string str)
 
static string InvertExpression (string expression)
 Removes parentheses and switches multiplications and divisions for the unit expressions More...
 
static KeyValuePair< string,
double > 
Parse (string str)
 Evaluates given string and returns the result as a double More...
 
static string TakeOutGroup (ref string str)
 

Static Public Attributes

static CultureInfo Nfi = new CultureInfo("en-US")
 

Detailed Description

String parser that can evaluate forumlas entered as strings

Member Function Documentation

static string Greet.ConvenienceLib.MathParse.InvertExpression ( string  expression)
static

Removes parentheses and switches multiplications and divisions for the unit expressions

Parameters
expression
Returns
static KeyValuePair<string, double> Greet.ConvenienceLib.MathParse.Parse ( string  str)
static

Evaluates given string and returns the result as a double

Parameters
str
Returns

The documentation for this class was generated from the following file: