You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moreover, should we limit the usage of round expression to round integer? This would be using the python function "round" without using the second parameter (ndigits) https://docs.python.org/3/library/functions.html#round
The text was updated successfully, but these errors were encountered:
Currently expression
round
works rounding to integer and decimal.According to other usages of jexl (javascript) we have
toFixed
to round decimals, so we could also implementtoFixed
assuper().add_transform("toFixed", lambda x, decimals: round(x, decimals))
.Moreover, should we limit the usage of
round
expression to round integer? This would be using the python function "round" without using the second parameter (ndigits) https://docs.python.org/3/library/functions.html#roundThe text was updated successfully, but these errors were encountered: