Numbers Or Text

Top  Previous  Next

You can use the inline calculator to insert numbers or text into your equation. If you want to insert text into your equation, you must wrap the text in quotes.


For example:


{if($d=0,"Cannot divide by zero",$n/$d)}


This command will look at the value of $d. If the value is 0, the inline calculator will return the text Cannot divide by zero. If $d is not zero, the calculator will divide $n by $d and return the result.