taxRate (Tax rate)

$taxRate reads the tax rate specified in the first parameter from the dynamic enumeration 'de.lobster.scm.monetary.TaxRate'.

Syntax

$taxRate(taxrate)

Parameter

Name

Description

taxrate

The dynamic enumeration value or its name.

The possible tax rate is determined from the dynamic enumeration 'de.lobster.scm.monetary.TaxRate'.

Return value

The read tax rate.

Example

Syntax

Result

$product( $el(23), $taxRate( $el(24) ) )

The value of the field with Id 23 multiplied by the tax rate of the field with Id 24.