rst_eval
Syntax | |||||||||||
rst_eval --help rst_eval [-c cast] [-f format] expr | |||||||||||
Synopsis | |||||||||||
Evaluate a mathematical expression. | |||||||||||
Options | |||||||||||
| |||||||||||
Description | |||||||||||
Evaluate a mathematical expression. The calculated value is written to standard output The expression to evaluate should be quoted. | |||||||||||
Examples | |||||||||||
Evaluate 2.5*3.12/6.
Evaluate 2.3*0.5, convert the result to an integer and print it using the format " |