Fix parsing decimal values used with integral numbers. Fixes #9090