Monday, May 14, 2012

Math Parser TK.NET - CodeProject®

Introduction to Article

This is a mathematical parser designed as module (class), which receives as input a mathematical expression (string) and returns the output value (double). For example, if you input "sin(90)+1,3" then the class returns this value — if (radians (bool) false) then 2,3 else 2,19399666360056.
In my country (and my regional settings) ',' is a char decimal separator and char decimal separator in this parser depends only with regional settings in OS.  


Math Parser TK.NET - CodeProject®

No comments: