Alert formatting

Hi,
Is there a way to define the format of an alert value?

I am using Slack as the notification target and it displays for example,

testing=51.111111111111214

I would like to format the metric value as:

testing=51.1

Thanks.