github/openhab issue #1013: flexible formatting of numeric values

Signed-off-by: Martin <martin+github@planet-renner.net>