calc82: Devlog #4 14/07/2026
calc82: because calculators are for everyone
This devlog mainly follows the addition of fractional I/O to my calculator.
๐ New functionality summary
- Fractional input, including fractions
- Computation of fractions - add/sub,div/mult,power,root
- other operations convert the fraction to a decimal
- Fractional output (temporary UI)
- LCM/GCD
- separate execute and fraction/decimal converting buttons
๐ข fractional io :)
I defined a separate fraction data type: itโs like a decimal, but with a numerator and denominator, and optionally a whole component: for example, 1 and 1/3, or 4/3.
Using fractions means that numbers can be represented more naturally and precisely. I.e. 1/7 instead of 0.142857143
๐งฎ Fractional calculation
Additionally calculations can be made more precise. For example (1/7) * (2/3) can be directly computed by multiplying the numerators and denominators.
My implementation attempts to convert user input and the products of divisions into fractions wherever possible in order to chase this precision.
๐๏ธ Notes
Web design is not my thing
I realised the importance of UI and UX (user experience) by looking at other projects on Stardance. As of the current iteration, this project lacks this a bit..
But I will give it a shot
My next developments will begin to focus more on this - starting with the algebraic input, and eventually moving onto the CSS and design aspects.
I am also considering whether I should use a Javascript framework.
๐ Next steps
Immediate:
- Create algebraic display functionality
Medium:
- Multi-line calculation (Ans) and setting variables
- Implement polar/rectangualr conversion (delayed until UI is more fleshed out)
- Build UI
Long-term (but getting closer!):
- Create a usable UX
- Ship :)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.