Converting Decimal to Integer
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Converting Decimal to Integer

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.12.1
Root FolderExample Lab - Convert Decimal to Integer on a Form
Modules None
DependenciesNone

This Example Lab demonstrates how to convert a decimal to an integer on a form.


Explanation

Run the Main Flow to display a form that will let the user type in a decimal and a Data Flow will convert it to an integer.


The "Convert Decimal to Integer" flow might look like an empty flow with no steps, but if you take a look at the inputs and outputs you will see that it takes in a decimal and outputs that decimal as an integer. If you map a decimal to an integer it will automatically round it to a decimal.

Reference Articles
Data Types
Using Data Flows



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.12.1 or later using our Importing/Exporting article.





Was this article helpful?