Troubleshooting
Problem
Sample JavaScript to add two string values and return non-exponential format of the string value.
Cause
The output of sum function returns data in exponential form
Resolving The Problem
The sample JavaScript provided below will add two string values and return the non-exponential format of the string value:
function nonexponential(input1, input2)
{
input1 = eval(input1);
input2 = eval(input2);
var output = input1+input2;
return output.toFixed(0);
}
You can use this java script to get the non-exponential format of the string value by using the custom function which is available in Studio,
Historical Number
00001270
Product Synonym
Cast Iron Solution
Cast Iron Operating System
Cast Iron Studio
Was this topic helpful?
Document Information
More support for:
IBM Cast Iron Cloud Integration
Software version:
5.0.1.8, 6.0.0.5, 6.1.0.9
Operating system(s):
Windows
Document number:
410767
Modified date:
15 June 2018
UID
swg21453404