JAXB error in PM

when i pass the value to the code am getting below error 

if(
  null(ac!convertWord_txt),
  "zero",
  convertnumbertoword(
    trim(split(ac!convertWord_txt, ".").[1]),
    ""
  )
)

what might be the issue here

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to KM

    2e+08 is just the way Appian DISPLAYS larger numbers. Appian does NOT somehow transform that value.

    Can you try to make that code simpler by using a static value?

    convertnumbertoword(200000000.0, "")

    Try this.

    Then, I have questions:

    - What is the purpose of line 2? If you want to check for a null value, use a!isNullOrEmpty()

    - What is the purpose of line 5? Seems like you store numeric values as text. Why?

Children