Decimal separator on all Moodle questions type are dot or comma and so is compatible depending on the user language.
In France, we use comma for decimal separator...
But in Formulas question type, only the dot is allowed, otherwise the answer is considered wrong.
It would be really nice to allow the comma too, but I don't know the feasibility or amount of work to allow this.
Sorry for cross posting this issue in github too...