I have this variable called ‘Amount’, which is of type double. This goes in as an input to a JDE Business Function (which takes only String values). When the ‘Amount’ variable has a value like ‘345678.76’, this goes in perfectly into JDE. In case of a larger amount, the Double variable implicitly converts it to an exponential format (‘4.52E7’). When this value is passed onto JDE Business function, it throws a numberFormatException.
Is there any way I can get a String representation of teh Double 4.52E7 (i.e. ‘45200000’), so that it goes into JDE smoothly?