NumberText

Top  Previous  Next

  <span mo:type="NumberText" mo:name="${fieldName}" mo:needsInit="true" 
      mo:props="
         value              : '${initialValue}',
         allowSign          : ${allowSign}
         precisionDigits    : ${precisionDigits}
         round              : ${round}
         padZeros           : ${padZeros} 
         currencyFormatting : ${currencyFormatting} />

 

 

${fieldName}

The name of the ProcessField

${initialValue}

The initial value of the field

${allowSign}

Specify "true" if the value can be negative.

${precisionDigits}

The number of the precision digits that can be entered after the decimal symbol.

${round}

Specify "true" to round the displayed value

${padZeros}

Specify "true" to pad zeros at the right side when precision digits are less than the specified.

${currencyFormatting}

If the number value includes a currency symbol (e.g. '120.23 $'), this property can be used to format it.
 
Examples:
 

Value      Formatting   Result

---------- -----------  --------

123.23 $   $9           $120.23

123.23 $   $9           $ 120.23

123.23 TL  9 $          120.23 YTL