Skip to content

bugfishtm/sf-im-calculator

πŸ“¦ Scientific calculator

πŸ“™ Introduction

An online JavaScript scientific calculator designed and coded by Yogesh Agarwala, available at https://yogeshiitm.github.io/scientific-calculator/. The calculator accepts multiple function expressions like physical calculators and features a smart back button that clears the entire string after calculations but deletes only the last character otherwise. It intelligently interprets user inputs even without proper parentheses or multiplication signs (e.g., "15√(3+5!7Ο€)sin(60Β°)^ln(log(5)e)7!" becomes "15Γ— √(3+5!Γ—7Γ—Ο€) Γ— sin(60Β°)ln(log(5)Γ—e) Γ— 7!"), checks for balanced parentheses using Stack data structure and displays appropriate errors, and accepts input via both mouse clicks and keyboard presses. Future plans include adding degree/radian toggle and inverse trigonometric functions.

πŸ› οΈ Installation

  1. Method: Login to your suitefish instance and browse our official store on your page. If you find the module you are looking for just download the package. Then navigate to the Image Package Area and enable the downloaded Image module.

  2. Method: Navigate to the Image Package Area inside the suitefish instance. Go to the upload section and upload the modules .zip file. Then navigate to the Image Package Area and enable the downloaded image module.

  3. Method: Manually upload the entire image module folderβ€”which contains the version.php fileβ€”to your Suitefish CMS instance under the path _image/[yourfolder]/version.php. Ensure you copy the complete contents of the folder, not just the version.php file.

πŸ“„ Documentation

If you are a developer you can find examples of modules in the _developers folder at the suitefish-cms github repository if you want to create an own module! For more information about the Suitefish CMS: https://github.com/bugfishtm/suitefish-cms

🐟 Bugfish

About

🐬 Suitefish πŸš€ Integration of "Calculator" into a Suitefish-CMS Image Module.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors