uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

6.5.8 Rounding Decimal Digits

Rounds the decimal digits when the mapping source number is a decimal number. The following types of operations can be specified:

Organization of this subsection
(1) Function used
(2) Setup procedure

(1) Function used

To round the decimal digits, you use the round node function. The following figure shows an example that uses the round node function.

Figure 6-9 Usage example of the round node function

[Figure]

(2) Setup procedure

To round the decimal digits:

  1. From the palette, choose the round node function (round), and deploy it in the mapping viewer.
  2. Set up a mapping line.
  3. Use one of the following methods to open the Round Node dialog box.
    • Right--click the round node function, and choose Setting.
    • Double--click the round node function.
    The Round Node dialog box opens.
    For details about the Round Node dialog box, see the manual Cosminexus Service Platform Overview.
  4. To specify a condition for the transformation-source node specified in Input and map it only when this condition is satisfied, click Set Node Condition.
    The Set Node Condition dialog box opens.
    For details about how to set a node condition, see 6.7 Specifying Node Conditions. For details about the Set Node Condition dialog box, see the manual Cosminexus Service Platform Reference.
  5. In Rounding type, specify the rounding operation to be executed.
  6. Click OK.