Customer Portal

Problem with "/ by zero"

Comments 2

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi Loretta,

    If data types are "long", then when data are read it is automatically rounded to "long" data type (which is integer number - so no digits after decimal point). Then 0.456 is rounded to 0 which causes problems with dividing.

    Change "long" in metadata to "decimal" or "number" will solve your issue. See http://doc.cloveretl.com/documentation/ ... types.html for details.

    See edge debug possibility to see actual data going to transformer: http://doc.cloveretl.com/documentation/ ... edges.html
  • Avatar
    lwickenden
    0
    Comment actions Permalink
    Hi Jaroslav,

    Thank you for the very clear explanation.

    Best regards,

    Loretta

Please sign in to leave a comment.