-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Units in Ceil and Floor #3216
Comments
Thanks for your feature request. We can indeed extend Anyone interested in implementing this? |
Hello! How complex should this unit's evaluation be? For example, do we need to consider cases like evaluate('ceil( 10.42ft / 2m )') and will ceil to a selected unit? Or just a unified unit across the function. |
I think your example The core here is to extend the functions
|
Hi Jos, I gave it a try. Please take a look when you have a chance. Thanks! |
The issues section is used only for bug reports. Please use the Discussions section to ask questions and share ideas and suggestions.
Describe the bug
This is a feature request more of a bug, Seeing there are test's in place verify it is not supported, but I would like to be able to use ceil and floor on numbers with units,
For example evaluate('ceil( 10.42ft / 2 )')
To Reproduce
evaluate('ceil( 10.42ft / 2 )')
The text was updated successfully, but these errors were encountered: