Class Round

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    RoundEvaluator

    public class Round
    extends OperatorExpression
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The Round operator returns the nearest integer to its argument. The semantics of round are defined as a traditional round, meaning that a decimal value of 0.5 or higher will round to 1. If the argument is null, the result is null. Precision determines the decimal place at which the rounding will occur. If precision is not specified or null, 0 is assumed.

    Java class for Round complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Round">
       <complexContent>
         <extension base="{urn:hl7-org:elm:r1}OperatorExpression">
           <sequence>
             <element name="operand" type="{urn:hl7-org:elm:r1}Expression"/>
             <element name="precision" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>