Properly convert from double to decimal and show validation errors where an Integer is expected.

Signed-off-by: Bryan <mattheyan@gmail.com>