VAL

From iMath
Revision as of 15:41, 1 July 2017 by Jrheinlaender (talk | contribs) (Created page with "{{Keyword | <code>VAL ( expression )</code> | Try to find a value for the expression from any equations defined previously in the document. A value is expect The expressi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

VAL ( expression )


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Try to find a value for the expression from any equations defined previously in the document. A value is expect

The expression will contain rational numbers, not floats, unless a conversion to a floating point number is req


Example

EQDEF a = 3 x

EQDEF b = 2 x

EQDEF x = 7 %metre

EXDEF VAL(a + b)

This will output 35 "m".

See also

QUANTITY QUANTITYWITH NUMVAL NUMVALWITH VALWITH UNIT UNITWITH