Giter VIP home page Giter VIP logo

caculate's Introduction

javascript caculate

用js写个计算器把,就按照w10上面的计算器写,当然是标准版本的。~

按键功能

  1. MS:存当前显示的数值
  2. MR:读取存储器中的数值,并显示出来
  3. MC:清除已存的数据
  4. M-:用已存的数值减去当前显示的数值后,再将结果保存
  5. M+:用已存的数值加上当前显示的数值后,再将结果保存
  6. 清除键(C):在计算中(输入数字或计算符号——+-*/后)按下此键将清除除存储器内容外的所有数值和计算符号,即可以重新开始输入计算。
  7. 清除键(CE):在计算中(输入数字或计算符号——+-*/后)按下此键将清除除存储器内容外的上一步内容,即可以重新输入按CE前输入的数字(含多位数)或计算符号。

开始

caculate's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.