Subtraction is used to subtract several values. To subtract values the - operator is used.

The values can be of the following type:

  • text
  • number
  • duration
  • datetime
  • concept_set

Syntax

Value1 - Value2 (- Value3, - Value4 -...)

Returns

A new value that is the result of subtracting value2 from value1. The type of the value is dependant on the types of value1 and value2:

  • number – number returns a number
  • duration – duration returns a duration
  • datetime – duration returns a datetime
  • datetime – duration returns a datetime
  • concept_set – concept_set returns a concept_set

Examples

35 - 7                        /* results in 28 */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company