Attached is a patch to extend the formatting capabilities of the MATH transform. The original format specifier is a single positive integer number, specifying the number of digits to the right of the decimal point. This patch adds the possibility to specify the total length of the result as well: the format specifier is "<N>.<M>", in which <N> and <M> are positive integer numbers. <N> specifies the size of the result, expressed in characters, and <M> specifies the number of digits to the right of the decimal point. If needed, the result is left padded with blank spaces.
The additional format specifier can be used to create tables with clear (lined out) colums, without the need to used the HTML table directive. It is used in a test (template) called 'disk', which generates an overview of the disk usage in the same format as Xymon would do for a Linux host.