Fixed float and decimal validation rules
Merge pull request #38 from ae0n/master

Fixed float and decimal validation rules