-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
UI/UX Improvements & Bugs #80
Comments
Hello ! For the last one, I'm pretty sure it's normal, if not it's a Keval problem then D: |
And do you know about another app that lets you hide the C button ? I'm questionning this request from an UI perspective 🤔 |
Unitto has this option as well as the correct algorithm for calculating percentages Your app is so stylish and pure, good luck with your development! |
Thanks !! ❤ @notKamui Is the perentage thingy normal here ? (sorry for the tag) |
@sosauce Yes, I've said it before, but your implementation of the ![]() it is not a relative percentage. Here, it only divides by 100 the left unary operand. So You have to implement the relative percentage yourself |
Oh yes I remember sorry ! Well I'll implement it, I won't bother you with expression issues anymore ! |
To give you a hint, you need to preprocess your string, and in fact, that is EXACTLY how Unitto does it too (I checked): They never evaluate In fact, you should not think of % as an operator in this expression (if you want it to be relative) The actual operator is Which also means that |
Hey @recycledunit, just release v2.4.0 which fixed all your problems (including relative percentage calculation, I hope), tell me if everything's good and feel free to close this issue if everything is 😉 ! |
Hi @sosauce, that's awesome! But I found a few more improvements (sorry for that XD):
|
@sosauce I checked your implementation, it wont work for |
Why is that ? Is it messing up with order of priority ? (I'm assuming this since both of your examples include parenthesis) |
Because your regex ( I suppose you generated it using ChatGPT or something, but next time, do actually try to understand it. What this regex represents is a "maybe ONE number" followed by either a +, -, or *, followed by ONE number followed by %.
It's not even a problem of priority, it is simply that your regex is just wrong |
Thanks ! But I actually updated it (Locally only) to account for groups before you told me too ahah 😅 And yeah I asked chatgpt for it, but oh we know how not trust worthy AI is. |
Description of improvements
Bugs
The text was updated successfully, but these errors were encountered: