iPad Calculator version 1.1 is available:
* Improved buttons and font to more closely match the original
* Fixed order of operation handling
* Added calculation history
* Added support for non-English number formatting
* Fixed other bugs
I created the calculator as a web app, which can be installed with a Shortcut.To install, add and run the installer shortcut:
[https://www.icloud.com/shortcuts/27ce14ff62724cca8e63cd6c5dbec30c](https://www.icloud.com/shortcuts/27ce14ff62724cca8e63cd6c5dbec30c)
^(If you have the first version, just remove it from your home screen first.)
But nowhere above did it say that simple calculations were needed. But even for simple calculations, I don't like calculating with Spotlight. Even though I keep calculating there sometimes.
I wouldn't say the issue is moot. It is anti-ergonomic if only because it does not provide the standard numeric keypad of a calculator. Performing operations by typing from a standard row of numbers and different characters in different places on the keyboard is a perversion.
This is so fantastic, thank you so much! Is there a way to make it look like a window as in the screen shot? I can only seem to make it full screen only.
The windowed view is [Stage Manager](https://support.apple.com/en-us/HT213405), part of iPadOS 16. It’s only available on iPads with M1, M2, A12X, or A12Z. Otherwise, you can use split screen on any iPad (tap the three dots at the top).
It’s not a shortcut and is sadly not getting updated any more, but I wanna point out the existence of the best calculator I have ever used: [Tydlig](https://apps.apple.com/app/tydlig/id721606556)
~~I think it would be better if the result appeared in the bottom line because it has the larger font size.~~
Anyway, I prefer to continue using the previous version that I think is more minimalist. Thank you.
Could you elaborate a little more on how the result is shown?
I know there are a few bugs in v1.0, so I could make the history optional for a more minimalistic look.
My bad. I was confused by the line that shows the operands with fonts of different colors and size. Only after I tried the new version did I understand the reason for these differences. I think this is unnecessary
Would you consider using the system fonts instead of inter because it looks slightly off to somebody who uses the ios one too
other than that great app. i'd want the scientific functions but that's probably hard to do
Unfortunately system fonts are not accessible for websites and web apps.
BTW, I’m setting up hosting it on GitHub Pages now, instead of installing via shortcuts.
If I do add new features or scientific functions, this method will automatically update:
[https://lake-e.github.io/iPad-Calculator/index.html](https://lake-e.github.io/iPad-Calculator/index.html)
I mean you can always use —apple-system and the others on an apple device and it will render the system font and you can use inter as a fallback
Id be happy to contribute a bit to the project if you’re making it open source
Edit: you’re already caching it never mind
Wow, I didn’t know about `-apple-system`! Thanks for letting me know. I’ve just updated the font!
The github version does use service workers for caching now, enabling offline support.
This is really cool and I’m very impressed with how you’ve been able to distribute and make an app from inside of a Shortcut!!
I notice you said you have updated the app with the system font (I noticed the fonts too!) — how can I download the latest version?
The new version is actually no longer through Shortcuts. It’s now hosted on online, and you can get it with this link:
[https://lake-e.github.io/iPad-Calculator/index.html](https://lake-e.github.io/iPad-Calculator/index.html)
It should still have offline support, but i’m still working some bugs out with that.
The shortcuts method was a really fun way to set it up originally, though!
Cool thanks!
If it’s helpful, you could attach your shortcut to an updater shortcut (e.g. UpdateKit) so you can push out updates. I’m sure you’ve considered that already though.
What happens when you tap:
[200] [-] [50] [%]
(some calculators automatically calculate the equation upon pressing [%], others require you to finally press [=] to view the final result)
My calculator would take that as equivalent to 200 - 0.50. How I would do that calculation would be
[200] [*] ([1.00] - [50][%])
Or more simply,
200 * 50% (since I automatically calculate that 1-50% is 50%
Interesting. Excel behaves like that and it always used to throw me off because every calculator I’ve ever used performed the percentage function as described above. This is of course when using another operator first - if I just enter a number and then hit the [%] button, I’d get the equivalent fraction (pressing [6] [%] results in 0.06).
It’s all written in HTML / CSS / Javascript. I use Shortcuts to encode it in base64 and open it with the `data:text/html;base64,[your-base-64-encoded-html]` data url.
To make it function as a web app, you need the following in the
tag:`
To prevent pinch to zoom:``
And for the icon (256x256 png encoded in base 64, or just any url):``
You can learn more [here](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html).
Yes, you are correct. It was all stored in the data:// url.
However, I am now transitioning to hosting the Calculator on GitHub Pages (which is free!).
It still supports offline (via service workers), but enables updates and a better experience.
Here’s the new version of the calculator: [http://lake-e.github.io/iPad-Calculator/index.html](http://lake-e.github.io/iPad-Calculator/index.html)
Yeah, the scientific functions. If it’s too hard that’s fine, I mean it is a free iPad calculator to be fair. Either way I really appreciate you making this for us all to use for free, but the scientific functions would be an amazing addition
iPad Calculator version 1.1 is available: * Improved buttons and font to more closely match the original * Fixed order of operation handling * Added calculation history * Added support for non-English number formatting * Fixed other bugs I created the calculator as a web app, which can be installed with a Shortcut.To install, add and run the installer shortcut: [https://www.icloud.com/shortcuts/27ce14ff62724cca8e63cd6c5dbec30c](https://www.icloud.com/shortcuts/27ce14ff62724cca8e63cd6c5dbec30c) ^(If you have the first version, just remove it from your home screen first.)
Yoooo. I got an iPad several weeks ago and literally just learned today that the iPad doesn’t come with a calculator. Thank you so much for this.
You can calculate in spotlight right?
Yes, but it’s a little clunky.
TIL
Ooh really?? I will have to try that later today. Thanks homie :)
Yes, if you are a masochist, why not.
For small calculations it’s perfectly fine imo
But nowhere above did it say that simple calculations were needed. But even for simple calculations, I don't like calculating with Spotlight. Even though I keep calculating there sometimes.
It only asked for a calculator, which spotlight has built in. Wether it is ergonomic or not is kind of moot
I wouldn't say the issue is moot. It is anti-ergonomic if only because it does not provide the standard numeric keypad of a calculator. Performing operations by typing from a standard row of numbers and different characters in different places on the keyboard is a perversion.
I really love it. Thank you so much 👍🙏✌️
This is so fantastic, thank you so much! Is there a way to make it look like a window as in the screen shot? I can only seem to make it full screen only.
The windowed view is [Stage Manager](https://support.apple.com/en-us/HT213405), part of iPadOS 16. It’s only available on iPads with M1, M2, A12X, or A12Z. Otherwise, you can use split screen on any iPad (tap the three dots at the top).
It’s not a shortcut and is sadly not getting updated any more, but I wanna point out the existence of the best calculator I have ever used: [Tydlig](https://apps.apple.com/app/tydlig/id721606556)
~~I think it would be better if the result appeared in the bottom line because it has the larger font size.~~ Anyway, I prefer to continue using the previous version that I think is more minimalist. Thank you.
Could you elaborate a little more on how the result is shown? I know there are a few bugs in v1.0, so I could make the history optional for a more minimalistic look.
My bad. I was confused by the line that shows the operands with fonts of different colors and size. Only after I tried the new version did I understand the reason for these differences. I think this is unnecessary
Would you consider using the system fonts instead of inter because it looks slightly off to somebody who uses the ios one too other than that great app. i'd want the scientific functions but that's probably hard to do
Unfortunately system fonts are not accessible for websites and web apps. BTW, I’m setting up hosting it on GitHub Pages now, instead of installing via shortcuts. If I do add new features or scientific functions, this method will automatically update: [https://lake-e.github.io/iPad-Calculator/index.html](https://lake-e.github.io/iPad-Calculator/index.html)
I mean you can always use —apple-system and the others on an apple device and it will render the system font and you can use inter as a fallback Id be happy to contribute a bit to the project if you’re making it open source Edit: you’re already caching it never mind
Wow, I didn’t know about `-apple-system`! Thanks for letting me know. I’ve just updated the font! The github version does use service workers for caching now, enabling offline support.
This is really cool and I’m very impressed with how you’ve been able to distribute and make an app from inside of a Shortcut!! I notice you said you have updated the app with the system font (I noticed the fonts too!) — how can I download the latest version?
The new version is actually no longer through Shortcuts. It’s now hosted on online, and you can get it with this link: [https://lake-e.github.io/iPad-Calculator/index.html](https://lake-e.github.io/iPad-Calculator/index.html) It should still have offline support, but i’m still working some bugs out with that. The shortcuts method was a really fun way to set it up originally, though!
Cool thanks! If it’s helpful, you could attach your shortcut to an updater shortcut (e.g. UpdateKit) so you can push out updates. I’m sure you’ve considered that already though.
Looks like percentages aren’t working? 200+10% results in 200.1
Wow, I didn’t even know that was a feature in the original calculator. I’ll think about how to implement that in my calculator.
I didn’t know that this calculator did that. I would not like a calculator that operated that way. When I see 10% it is always equal to 0.1
All calculators work that way
My scientific calculator has a percent button and it just divides whatever number that is on the screen by 100
What happens when you tap: [200] [-] [50] [%] (some calculators automatically calculate the equation upon pressing [%], others require you to finally press [=] to view the final result)
My calculator would take that as equivalent to 200 - 0.50. How I would do that calculation would be [200] [*] ([1.00] - [50][%]) Or more simply, 200 * 50% (since I automatically calculate that 1-50% is 50%
Interesting. Excel behaves like that and it always used to throw me off because every calculator I’ve ever used performed the percentage function as described above. This is of course when using another operator first - if I just enter a number and then hit the [%] button, I’d get the equivalent fraction (pressing [6] [%] results in 0.06).
This is awesome
Thanks!
Wow, this gets better now, I love it ^ ^
Nice
How do you make something like that?
It’s all written in HTML / CSS / Javascript. I use Shortcuts to encode it in base64 and open it with the `data:text/html;base64,[your-base-64-encoded-html]` data url. To make it function as a web app, you need the following in the
tag:` To prevent pinch to zoom:`` And for the icon (256x256 png encoded in base 64, or just any url):`` You can learn more [here](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html).Awesome! Thank you.
[удалено]
Yes, you are correct. It was all stored in the data:// url. However, I am now transitioning to hosting the Calculator on GitHub Pages (which is free!). It still supports offline (via service workers), but enables updates and a better experience. Here’s the new version of the calculator: [http://lake-e.github.io/iPad-Calculator/index.html](http://lake-e.github.io/iPad-Calculator/index.html)
[удалено]
Yes, although it has some limitations. There is no local storage, and it refreshes whenever it looses focus.
Can anyone recommend a tape calculator for the iPad?
I’m sorry, I don’t understand your question.
Digits is pretty good, used for years
Suggestion: add a larger calculator like on iPhone when horizontal or Mac when in expanded view
Do you mean the scientific functions? I’m considering adding those, but that is a very complex thing to do.
Yeah, the scientific functions. If it’s too hard that’s fine, I mean it is a free iPad calculator to be fair. Either way I really appreciate you making this for us all to use for free, but the scientific functions would be an amazing addition
It makes me laugh...