Decimal: Check for NaN

When converting the input, make sure we don't get NaN,
which might happen if there are invalud characters (hex-chars).
Basic frontend

Simplest frontend possible. No error handling, but for correct
input it shows all conversions, albeit naively.