A simple calculator for VS Code.

Overview

Calculator for VS Code

How to use

Start

To use the calculator, type calculator in the command palette.

You can also use key bindings to start the calculator quickly:

Windows: Ctrl+Alt+L

Mac: Cmd+Alt+L

Calculate

You can type a math expression into the input box to calculate, and the result will be displayed as a notification.

Examples of math expression:

  • 1 + 1
  • 1 - 1 * 2
  • 2**3+7*(3+1)
  • (1.1 + 7.4)/5

You can use JavaScript's Math library for more advanced calculations:

  • Math.sqrt(9)
  • Math.pow(2, 3)
  • Math.round(3.14)
  • Math.floor(3.14)
  • Math.abs(-3.14)
  • Math.min(1, 4, 9)
  • Math.random()
  • Math.PI
  • Math.sin(x)
  • ...

Tips

If you have selected some text in the editor when you open the calculator, the text will automatically appear in the input box for you to calculate.

Screenshots

Z3tJML_20211226 dJaBJs_20211226 GKUGvR_20211226 cADHjc_20211226

Enjoy!

You might also like...

advanced calculator using only HTML, CSS and JS

Welcome to GitHub Pages You can use the editor on GitHub to maintain and preview the content for your website in Markdown files. Whenever you commit t

May 14, 2022

The best desktop console calculator yet!

The best desktop console calculator yet!

TBCalc - Console Calculator The best desktop console calculator yet! 🌐 Try TBCalc Online: https://tbcalc.tcb13.com 💻 TBCalc Windows App: https://tbc

Sep 7, 2022

Daily reward and ROI calculator for Nintia Estate players.

Daily reward and ROI calculator for Nintia Estate players.

Nintia Estate Calculator The Nintia Estate Calculator is a simple calculator for Nintia Estate players. The calculator allows players to calculate the

Jun 30, 2022

Console app - big float calculator */+-

Интерпритатор математических выражений Изначально для парсинга математических выражений я реализовал алгоритм сортировочной станции, в текущей версии

Jul 16, 2022

A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snippets.

A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snippets.

Warm Up 🔥 👨‍💻 A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snipp

Dec 12, 2022

Code Playground is a online application for testing and showcasing user-created and collaborational HTML, CSS and JavaScript code snippets

Code Playground is a online application for testing and showcasing user-created and collaborational HTML, CSS and JavaScript code snippets

Code Playground About Code Playground is a online application for testing and showcasing user-created and collaborational HTML, CSS and JavaScript cod

Dec 17, 2022

Convert some JavaScript/TypeScript code string into a .d.ts TypeScript Declaration code string

convert-to-dts Converts the source code for any .js or .ts file into the equivalent .d.ts code TypeScript would generate. Usage import { convertToDecl

Mar 3, 2022

📸 A command-line tool to generate code images of your local code right away from the terminal

📸 A command-line tool to generate code images of your local code right away from the terminal

📸 rayli 📸 A command-line tool to generate code images of your local code right away from the terminal Usage Commands Usage $ npm install -g rayli $

Nov 4, 2022

A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM deffiniation and appropriate file structure.

Welcome to function-stencil 👋 A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM

Jun 20, 2022
Comments
  • copy response to clipboard

    copy response to clipboard

    Hello! Thank you so much for this extension, it is very useful for me! I would like you to add the ability to copy the result of the calculation to the clipboard so that you can use it (via ctrl-v). It would be great if you added this, thanks again!

    opened by Dizardmk 3
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A simple calculator for VS Code.

Calculator for VS Code How to use Start To use the calculator, type calculator in the command palette. You can also use key bindings to start the calc

xuanzhi33 4 Dec 5, 2022
A simple calculator for how many units of insulin to take with a meal depending on current and target blood sugar levels.

Insulin-Calculator One of my first programs, made to try building javascript-read HTML forms. A simple calculator for how many units of insulin to tak

Athena 1 Dec 26, 2021
Math Calc is a simple algebra calculator with options for basic addition, subtraction, multiplication, and division as well as many more mathematical properties.

Math-Calc Math Calc is a simple algebra calculator with options for basic addition, subtraction, multiplication, and division as well as many more mat

CoderX07 1 Dec 25, 2021
A simple Rust DApp Calculator in Solana 🦀

Rust Calculator ?? in Solana ?? This Calculator written Rust using Anchor ⚓ Setting up the Environment: Rust Installation: curl --proto '=https' --tls

Ritesh 7 Oct 11, 2022
This is Basic calculator. This is made up of HTML5,CSS and JAVASCRIPT.

<title>BasicCalculator</title> <style> @media screen and (max-width : 574px){ h2{ font-size: large; }} @media screen and (max-width : 430px){ h2{ font

Sanjay soni 1 Dec 22, 2021
BMI Calculator can give us the bmi result of our bmi on the basis of our corresponding height and weight.

BMI means body mass index. Body Mass Index (BMI) is a person's weight in kilograms divided by the square of height in meters.

Bipronath Saha 1 Jan 20, 2022
Quadratic Solver: Quadratic Equation Calculator (A X^2 + B X^1 + D = 0)

Quadratic Equation Calculator (Quadratic Solver) Solves the linear equation Ax^2 + Bx + C = 0 for x. I searched about "Quadratic Equation" topic and u

Max Base 6 Dec 15, 2022