MDL-53140 qtype_numerical: Localised decimal separator bug fix
authorShamim Rezaie <shamim@moodle.com>
Thu, 4 Apr 2019 23:03:13 +0000 (10:03 +1100)
committerShamim Rezaie <shamim@moodle.com>
Wed, 1 May 2019 02:10:32 +0000 (12:10 +1000)
commit326bb5474a2d2414cbc0e9fd78a0b52d57543a7f
tree8e4b6ce297cff9c29dfff6d99c409fbff6f21644
parent688c803550fbecd6fdc6fdf210955e006e0f007f
MDL-53140 qtype_numerical: Localised decimal separator bug fix

- Support decimal separator when it is not . or ,
- Also make sure that we don't remove . when thousandsseparator is .
- Display the answer fields in the editing form in the localised format
question/type/numerical/edit_numerical_form.php
question/type/numerical/questiontype.php