XML Element: rightDigits

Specifies the maximum number of digits allowed to the right of the decimal point in a field that accepts a number. For example, if rightDigits is set to 3, users can enter 12.1 or 0.123, but not 5.1234.

Parent elements

type

Child elements

N/A

Format

<wd:type base="number">
    <wd:rightDigits value="2"/>
</wd:type>

Attributes

Attribute Description

value

Contains a positive, whole integer.

Example

<wd:metric-entry
   title="Net Present Value"
   name="NPV"
   metricName="NPV">
      <wd:type base="number">
         <wd:leftDigits value="5"/>
         <wd:rightDigits value="2"/>
      </wd:type>
</wd:metric-entry>