Update var_entry_validation.js

Now rounds decimals as intended, i.e. does not set 1.5000000011 to 1.999999999, but rounds to 1.500000001 (rounds up on 5 and higher).