I decided to start working on my LongDivision web application again and add a few enhancements. Mainly decimal number support (the first version only supported whole numbers). A few days before i left for Australia i was working on adding these improvements. There was a few bugs before i left home. Although i have more less sorted them now (the major ones). The enhancements are listed below:
- Works with decimal number inputs now (not just whole nos)
- The output can be calculated in decimal as well to a max 5 decimal places.
- Has the option to switch into remainder mode or none remainder (exact answer)
The remainder part can be activated via the use of a checkbox as can be seen below.
Bugs:
- Minor drawing consistency problem with the red vertical lines. When divisor or dividend number input is extremely large, eg 18 digits or more long etc the vertical lines sometimes do not align consistently with the numbers on top. Some maths should fix it.
In addition to all this, the source code i have included is the solution which includes the project files for both the local application and the web application versions.
I will keep this blog posted on my progress or any future updates.
- Ronan
No comments:
Post a Comment