Rename number.float precision to something more meaningfull #1591
Labels
c: refactor
PR that affects the runtime behavior, but doesn't add new features or fixes bugs
duplicate
Duplicate of another issue/PR
m: number
Something is referring to the number module
p: 1-normal
Nothing urgent
I currently think about the
precision
value now changed...This could come into confusion when using it with native JS as there it has another meaning: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision#parameters
It's different to what e.g.
toFixed
is doing: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed#parametersSo we might want to rename it, or do alternative ways 🤔
I'm also not sure if we e.g. accept negative exponents, but this might work but lead just to more roundings
The text was updated successfully, but these errors were encountered: