more decimal work, still not completed

Signed-off-by: Alexander Skjolden <alex@plastboks.net>