Moab Viewpoint
Double Deciders

Double Deciders

Whenever the XML allows a double decider (instead of a concrete double), these are the valid options:

  • A string-to-double operation.
  • A concrete double.
  • A UI component that holds a double (such as <component id="nameOfDoubleTextbox" />) inside the parent element. If the component holds a string value, Viewpoint attempts to parse this value to a double.

String To Double

To convert a string to double, use the <calculate> element and specify the operation attribute value as "string-to-double". This requires a child string decider.