Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Question

Hi team, again a question for Workflow Notification Template.

I have a calculation result Element about new promotion Price. Result The result is: 4.2095 (a number with 4 decimal places). When I add this element to the Workflow Template, it is printed as 4.21 (with 2 decimal places only). How can I keep the original format?

...

hiddentrue

...

Answer

You can try something like this:

Code Block
$item.nPlusOneMaxNP;format = "#,###.#### €"$

Replace item.nPlusOneMaxNP with your variable.