number field comma truncation

Re: number field comma truncation

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Do you know how computers store floating-point numbers? The way it works is nobody's fault, but wishing it was other than it is, is futile.

As William Lu said, if you care about the sequence of characters that make up the number, not the numerical value, then you have to treat the number as a string.