Skip to content

Numbers formatted with sigfig() will not use scientific notation #300

@Uriel-Cerem-Devlion

Description

@Uriel-Cerem-Devlion

In the past (until plugin version 5.3.6) we were able to see big number that we used for the scintific totation XeY, where X is a base, e stand for the power of 10, and Y is the power value.

Until we upgraded the plugin version (due to upgrading moodle to 4.5), we've been able to see the generated number via variables, and also student answer, in this notation.

It might be ralted to this opened issue - #243

How to restore?

  1. install on moodle 4.4 qtype_formula version 5.3.6, and on moodle 4.5 the plugin version 6.2.2
  2. create a quiz with formula question, use 2 variable - one holds a number with the notation (something like 5.21e12) and another variable that calls the first one using it for calculation.
  3. add an expected answer, also in the notation.
  4. use preview to see the qestion - you will see difference. also, if you try to save a student submission with the same notation, the teacher view will not see the notation in the student's answer.
Image Image Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions