calculator/README.md

66 lines
3.7 KiB
Markdown
Raw Normal View History

2019-01-29 08:24:37 +08:00
# 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.
2019-01-29 01:55:54 +08:00
2019-01-29 08:24:37 +08:00
Calculator ships regularly with new features and bug fixes. You can get the latest version of Calculator in the [Windows Store.](https://www.microsoft.com/store/apps/9WZDNCRFHVN5)
2019-01-29 01:55:54 +08:00
<!-- TODO: Replace with badge from public pipeline -->
2019-01-29 08:24:37 +08:00
[![Build Status](https://microsoft.visualstudio.com/Apps/_apis/build/status/Utility%20Apps/Calculator-Daily)](https://microsoft.visualstudio.com/Apps/_build?definitionId=3539)
2019-01-29 01:55:54 +08:00
![Calculator Screenshot](docs/Images/CalculatorScreenshot.png)
2019-01-29 01:55:54 +08:00
2019-01-29 08:24:37 +08:00
## 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](https://www.bing.com).
## Getting started
Prerequisites:
- Your computer must be running Windows 10, version 1803 or newer
- Install the latest version of [Visual Studio](https://developer.microsoft.com/en-us/windows/downloads) (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](docs/Images/VSInstallationScreenshot.png)
2019-02-05 13:23:36 +08:00
- Install the [XAML Styler](https://marketplace.visualstudio.com/items?itemName=TeamXavalon.XAMLStyler) Visual Studio extension
2019-01-29 08:24:37 +08:00
- Get the code:
```
git clone https://github.com/Microsoft/calculator.git
2019-01-29 08:24:37 +08:00
```
- Open [src\Calculator.sln](/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](docs/ApplicationArchitecture.md).
2019-01-29 08:24:37 +08:00
## Contributing
Want to contribute? The team encourages community feedback and contributions. Please follow our [contributing guidelines](CONTRIBUTING.md).
2019-01-29 08:24:37 +08:00
If Calculator is not working properly, please file a report in the [Feedback Hub](https://insider.windows.com/en-us/fb/?contextid=130).
2019-02-05 13:23:36 +08:00
We also welcome [issues submitted on GitHub](https://github.com/Microsoft/calculator/issues).
2019-02-19 23:10:47 +08:00
## Data / Telemetry
This project collects usage data and sends it to Microsoft to help improve our products and services.
Read our [privacy statement](http://go.microsoft.com/fwlink/?LinkId=521839) to learn more.
Telemetry is disabled in development builds by default, and can be enabled with the `SEND_TELEMETRY`
build flag.
2019-02-19 23:10:47 +08:00
## Reporting Security Issues
Security issues and bugs should be reported privately, via email, to the
Microsoft Security Response Center (MSRC) at <[secure@microsoft.com](mailto:secure@microsoft.com)>.
You should receive a response within 24 hours. If for some reason you do not, please follow up via
email to ensure we received your original message. Further information, including the
[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in the
[Security TechCenter](https://technet.microsoft.com/en-us/security/default).
2019-02-19 23:10:47 +08:00
## License
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the [MIT License](.\LICENSE).
2019-02-19 23:10:47 +08:00
## Contact
Questions that can't be answered on GitHub? Reach out to the team: <[calculator@microsoft.com](mailto:calculator@microsoft.com)>