Closed
Description
I get the reasoning for requiring a precision in most cases. However, as I mentioned in #2513 (comment), it seems fine to omit it for numbers.
So if B becomes optional, defaulting to 1, it will be possible to do things like
round(2.3) /* 2 */
round(up, 2.3) /* 3 */
while round(2.3em)
will continue being invalid due to the type mismatch between A and B.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Unsorted regular