Currently, in the event where a notifications gets rendered for:
threshold: 100.50
violation: 200.1234567890
It will output the full number of the violation: 200.1234567890
This changeset alters this behavior by formatting the violation two decimal places past the resolution of the threshold. So for the same scenario, it will format the number of the violation as 200.1234.
This should help with making our formatted notifications easier to read.
Currently, in the event where a notifications gets rendered for:
threshold:
100.50
violation:200.1234567890
It will output the full number of the violation:
200.1234567890
This changeset alters this behavior by formatting the violation two decimal places past the resolution of the threshold. So for the same scenario, it will format the number of the violation as
200.1234
.This should help with making our formatted notifications easier to read.