The value should be an integer.
If you want the fraction effect i.e. a question that worth half another one, just multiply the other grades by 2.
Anyway when put in the quiz the final grade will be calculated following the value set in the quiz.
Pierre