Format decimal numbers on AlertConditions

Fixes #852.