Issue #1013: When the value was an integer and the format was like "%.1f", an exception was thrown
Issue #1013: Added some more "asserts".
Merge pull request #1030 from planetrenner-martin/decimal-formatter

Issue #1013: Bugfix for integer value and float conversion pattern