Skip to content

srikanth-rl/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App

Introduction

This is a simple calculator web application designed to perform basic mathematical calculations. The calculator has a user-friendly interface and supports common arithmetic operations.

Features

  1. Basic Arithmetic Operations:

    • Addition (+)
    • Subtraction (-)
    • Multiplication (*)
    • Division (/)
  2. Percentage Calculation:

    • The % button allows you to calculate percentages.
  3. Clear Functionality:

    • The Clr button clears the input field, allowing you to start a new calculation.
  4. Delete Functionality:

    • The Del button deletes the character at the cursor position.
  5. Decimal Point:

    • The . button allows you to input decimal points for more precise calculations.
  6. Error Handling:

    • The application provides a simple error alert if an invalid input is detected during the calculation.
  7. Factorial Calculation:

    • Press the F key or use the factorial button to calculate the factorial of the number at the cursor position.
  8. Prime Calculation:

    • Possible to check prime or not upto 17 Digits.
  9. Remainder Calculation:

    • Possible to calculate mod for any 2 numbers,also available for negative numbers.

How to Use

  1. Input:

    • Click the number buttons to input digits.
    • Click the arithmetic operation buttons (+, -, *, /) to input operators.
    • Use the % button for percentage calculations.
    • Press the F key or use the factorial button to calculate the factorial.
  2. Clear and Delete:

    • Use the Clr button or Click ctrl + backspace to clear the entire input.
    • Use the Del button or Click backspace to delete the character at the cursor position.
  3. Calculate:

    • Click the = button or Press Enter key to perform the calculation.
    • The result will be displayed in the input field.

Example

Suppose you want to calculate 25 + 5 * 3. Here's how you can do it:

  • Input: 25 + 5 * 3
  • Click = to get the result.

The result will be displayed in the input field.

License

This calculator app is open-source and free to use. Feel free to modify and enhance it according to your needs.

Screenshots

image

For Usage:

https://srikanth-web-calculator.on.drv.tw/app/

About

Give your feedback on this web app...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published