calc command

Summary

Calculates expressions.

Description

This command was removed some versions earlier, but came back later.

This command lets you calculate expressions and return the results.

Command usage

  • calc <expression>

Examples

  • calc 6/3: Divides 6 by 3 and returns the result.

  • calc 12*4: Multiplies 12 by 4 and returns the result.

  • calc 3-2: Subtracts 3 by 2 and returns the result.

  • calc 4+5: Adds 4 by 5 and returns the result.

Last updated