set default value for empty integer/float fields
STUD-894
Merge pull request #1931 from zubair-arbi/zub/bugfix/std894-deletingfloatfield

set default value for empty integer and float fields