The eval command evaluate an expression and display the result.
|expression||expression to evaluate|
The eval command evaluates an expression and displays the result. It can be used to make complex computations without applying the value to a command. The expression can be any valid expression including symbols, constants and other objects. The result is displayed in hexadecimal, octal and decimal.
PMON> eval 2+6*4
0x1a 032 26
The expression, reference on how expressions are evaluated.