<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="../../../design/description.xslt" type="text/xsl"?>
<node lang="en" type="DynamicNode.Lib.Mathematics.Operators.NComparison" assembly="NLibDefault" xmlns="http://dynamicnodes.mastersign.de/description">
  <caption>Comparison</caption>
  <group>Math : Operators</group>
  <description>Compares two numerical values.</description>
  <inPorts>
    <port name="a">
      <type>System.IComparable</type>
      <description>A comparable value.</description>
    </port>
    <port name="b">
      <type>System.IComparable</type>
      <description>A comparable value.</description>
    </port>
    <port name="mode">
      <type>DynamicNode.Lib.Mathematics.CompareMode</type>
      <description>The mode for the comparison (Less, LessEqual, Equal, GreaterEqual, Greater, NotEqual).</description>
    </port>
  </inPorts>
  <outPorts>
    <port name="result">
      <type>bool</type>
      <description>The result of the comparison.</description>
    </port>
  </outPorts>
  <helpText>
    <xhtml>
      The node compares two comparable values from the in ports <code>a</code> and <code>b</code>.
      The result from the comparison.
    </xhtml>
  </helpText>
  <customArea>A visualization of the choosen comparison method.</customArea>
</node>