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
Is your feature request related to a problem? Please describe.
Sometimes a value will be either a string or a number. If the value is a string, you should be able to specify that this is correct and the value should be returned without an error message.
Describe the solution you'd like
Add a parameter to roundToDecimals to be able to specify this. The parameter should have a default value that retains the filter's previous functionality.
Example previous functionality:
{'45.32465456'|roundToDecimals(2)}
outputs: 45,32
Example new functionality:
{'Not a number'|roundToDecimals(2,1)}
outputs: 'Not a number'
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Sometimes a value will be either a string or a number. If the value is a string, you should be able to specify that this is correct and the value should be returned without an error message.
Describe the solution you'd like
Add a parameter to roundToDecimals to be able to specify this. The parameter should have a default value that retains the filter's previous functionality.
Example previous functionality:
{'45.32465456'|roundToDecimals(2)}
outputs: 45,32
Example new functionality:
{'Not a number'|roundToDecimals(2,1)}
outputs: 'Not a number'
The text was updated successfully, but these errors were encountered: