You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

subt()

Usage

subt(val1, val2)

Description
Returns the numerical difference between val1 and val2. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments.

Example

${subt(5, 2)}

results in

3.0

Search results for "subt()"

subt()

Returns the subtraction result of val1 minus val2. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments.

subt(val1, val2)