Question about Audit Widget

스크린샷 2026-03-04 162115

Hello community,

I am trying to use the Audit widget, but as shown in the picture, too many decimal places are displayed, which makes it inconvenient to read. Is there any way to modify or limit the number of decimal places?

Also, is it possible to assign only one Text Display per MpAuditTrail? I would like to include other event types at the same time, but I’m not sure how the Text Display should be configured to do that.

I would appreciate it if someone could guide me on how to solve this. Thank you.

The number of decimal places can be set with a format string.
Automation Help: Format strings

Here an example for two decimal spaces:

changed value of {&dpid} from {&old|0.2f} to {&new|0.2f}

You can have multiple types of events and multiple texts on one MpAuditTrail. It is described in the help below under the collapsible section “Defining the event text”.
Automation Help: MpAuditTrail configuration

1 Like

Thank you for your kind reply!

1 Like

Does anyone know if it’s possible to define the number of decimal places depending on the data type of the monitored variable?

For example, with this format {&new|0.2f}, a string is always truncated after two characters.

Also, it doesn’t make much sense to display decimal places for integer values.

Any help would be greatly appreciated. :slight_smile:
Thanks, Simon

1 Like