"Error: NumberFormatException Caught"

ShubhaShubha MemberPosts:139Guru
edited May 2019 inHelp
Hi,

I run the below code,
































And get the error,

[quote]Process Failed:
NumberFormatException caught: For input string: "4.0"[/
quote]

Why is this error? The data read is an integer. But still the error comes.... Any ideas?

Thanks, Shubha
Tagged:

Answers

  • ShubhaShubha MemberPosts:139Guru
    Hello,

    I got rid of the error by introducing a "MacroConstruction" operator between "DataMacroDefinition" and "IOSelector".







    But, does DataMarcoDefinition takes the values given to it as strings?
  • haddockhaddock MemberPosts:849Maven
    Define macros for the current process. Macros will be replaced in the valuestringsof parameters by the macro values defined as a parameter of this operator
  • ShubhaShubha MemberPosts:139Guru
    Correct...

    Thanks
Sign InorRegisterto comment.