For example, you can let the user enter something like "4*(5+6)-sin(1/3*pi)" and the dll will calculate the result.
The calculator supports:
- Standard operators: +, -, * and /
- Scientific notation (1.52e8)
- Functions (see function list below)
The dll also contains functions for converting strings to reals and reals to strings, as the standard GM functions are very limited and often crash if the numbers are too large.
The syntax and functions supported by the dll work the same as in GM. The following functions are supported:
The dll also supports constants pi and e.
Download: Calculator Dll - ZIP (38.3kb)
The zip file contains the dll (and scripts), the extension, an example (gmk) and a help file.
Edited by Maarten Baert, 17 September 2012 - 11:34 AM.