Numeric comparisons?
Comments
-
The primary issue here is actually caused by the advanced options allowed by Decisions. Allow me to elaborate.
Temperature is an integer, but when formatted with additional details such as AllDecimals.NoSeparator, or Currency.TwoDecimals, or any other formatting variation, whats being passed out is a string using that integer as a base component. This is great for reporting, but bad for evaluations unless theres a real need for it.
The formatting makes it easy to manipulate the integer to look good on forms and reports, but since its just a string display of the integer, its providing string evaluations instead of number evaluations.
Removing the Default.AllDecimals.NoSeparator formatting from temperature will resolve this issue.
Just use the bold temperature variable when creating the rule and itll work like a charm!
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions