calculation syntax

there are a few snippets here that may help you - Use command line like a calculator