-
Notifications
You must be signed in to change notification settings - Fork 0
Money
Marius Wodtke edited this page May 9, 2023
·
2 revisions
Money Fields are printed as their decimal value by default. However decimal has quite some decimal places, probably making you want to shorten the output. Since a decimal is printed, we can use .NETs standard numeric formats, but while "C" (for currency) might be an obvious solution, the displayed currency is tied to the machines locale and not the currency in Dynamics.
Instead the usual solution is to use formatters like "0.0000" or "0,00" to print the amount of decimal places you want and then either specify a fixed Currency or retrieving it from the currency field. The picture below shows an example on how to configure this, a sample output for this configuration is "12345678.90 €":