Uno Calculator: A simple yet powerful iOS/Android/WebAssembly/Linux C# port of the calculator that ships with Windows
Перейти к файлу
Howard Wolosky c13b8a099e Hello GitHub 2019-01-28 16:24:37 -08:00
Tools/PGO Hello GitHub 2019-01-28 16:24:37 -08:00
build Hello GitHub 2019-01-28 16:24:37 -08:00
docs Hello GitHub 2019-01-28 16:24:37 -08:00
internal Hello GitHub 2019-01-28 16:24:37 -08:00
src Hello GitHub 2019-01-28 16:24:37 -08:00
.editorconfig Hello GitHub 2019-01-28 16:24:37 -08:00
.gitattributes Hello GitHub 2019-01-28 16:24:37 -08:00
.gitignore Hello GitHub 2019-01-28 16:24:37 -08:00
CODE_OF_CONDUCT.md Hello GitHub 2019-01-28 16:24:37 -08:00
CONTRIBUTING.md Hello GitHub 2019-01-28 16:24:37 -08:00
LICENSE Hello GitHub 2019-01-28 16:24:37 -08:00
NOTICE.txt Hello GitHub 2019-01-28 16:24:37 -08:00
README.md Hello GitHub 2019-01-28 16:24:37 -08:00
nuget.config Hello GitHub 2019-01-28 16:24:37 -08:00

README.md

Calculator

The Windows Calculator app is a modern Windows app written in C++ that ships pre-installed with Windows. The app provides standard, scientific, and programmer calculator functionality, as well as a set of converters between various units of measurement and currencies.

Calculator ships regularly with new features and bug fixes. You can get the latest version of Calculator in the Windows Store.

Build Status

Calculator Screenshot

Features

  • Standard Calculator functionality which offers basic operations and evaluates commands immediately as they are entered.
  • Scientific Calculator functionality which offers expanded operations and evaluates commands using order of operations.
  • Programmer Calculator functionality which offers common mathematical operations for developers including conversion between common bases.
  • Calculation history and memory capabilities.
  • Conversion between many units of measurement.
  • Currency conversion based on data retrieved from Bing.

Getting started

Prerequisites:

  • Your computer must be running Windows 10, version 1803 or newer

  • Install the latest version of Visual Studio (the free community edition is sufficient)

    • Install the "Universal Windows Platform Development" workload
    • Install the optional "C++ Universal Windows Platform tools" component
    • Install the latest Windows 10 SDK

    Visual Studio Installation Screenshot

  • Install the XamlStyler Visual Studio extension

  • Get the code:

    git clone https://microsoft.visualstudio.com/DefaultCollection/Apps/_git/calculator.app
    
  • Open src\Calculator.sln in Visual Studio to build and run the Calculator app.

  • For a general description of the Calculator project architecture see ApplicationArchitecture.md.

Running Tests

To run tests in Visual Studio, install TDP and use the TAEF explorer pane.

Calculator has two primary sets of tests:

Exploring the repo

  • Build - Scripts which run during the build
  • Docs - Documentation for developers
  • Loc - Localization settings and files
  • PDP - Information about the app for the Store's Product Description Page
  • SpkgDefs - Definitions for building test packages
  • Src - Main folder for source code
  • Tools - Scripts and tools to aid in development
  • TRexDefs - Definitions for running tests using TReX

Contributing

Want to contribute? The team encourages community feedback and contributions. Please follow our contributing guidelines.

If Calculator is not working properly, please file a report in the Feedback Hub. If you want to submit an issue to this repository, please read the issue reporting guidelines.

Contact

Questions? Reach out to the PAX Essential Experiences App email alias: paxeeapps@microsoft.com