[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71481":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},71481,"calculator","microsoft\u002Fcalculator","microsoft","Windows Calculator: A simple yet powerful calculator that ships with Windows","",null,"C++",30957,5763,585,425,0,5,20,34,15,45,"MIT License",false,"main",[26,27,28,29,30,31,32],"cpp","csharp","uwp","windows","windows-10","windows-11","xaml","2026-06-12 02:02:53","# Calculator\nThe Windows Calculator app is a modern Windows app written in C++ and C# that ships pre-installed with Windows.\nThe app provides standard, scientific, and programmer calculator functionality, as well as a set of converters between various units of measurement and currencies.\n\nCalculator ships regularly with new features and bug fixes. You can get the latest version of Calculator in the [Microsoft Store](https:\u002F\u002Fwww.microsoft.com\u002Fstore\u002Fapps\u002F9WZDNCRFHVN5).\n\n[![Continuous Integration](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcalculator\u002Factions\u002Fworkflows\u002Faction-ci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcalculator\u002Factions\u002Fworkflows\u002Faction-ci.yml)\n\n\u003Cimg src=\"docs\u002FImages\u002FCalculatorScreenshot.png\" alt=\"Calculator Screenshot\" width=\"450px\" \u002F>\n\n## Features\n- Standard Calculator functionality which offers basic operations and evaluates commands immediately as they are entered.\n- Scientific Calculator functionality which offers expanded operations and evaluates commands using order of operations.\n- Programmer Calculator functionality which offers common mathematical operations for developers including conversion between common bases.\n- Date Calculation functionality which offers the difference between two dates, as well as the ability to add\u002Fsubtract years, months and\u002For days to\u002Ffrom a given input date.\n- Calculation history and memory capabilities.\n- Conversion between many units of measurement.\n- Currency conversion based on data retrieved from [Bing](https:\u002F\u002Fwww.bing.com).\n- [Infinite precision](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FArbitrary-precision_arithmetic) for basic\n  arithmetic operations (addition, subtraction, multiplication, division) so that calculations\n  never lose precision.\n\n## Getting started\nPrerequisites:\n- Your computer must be running Windows 11, build 22000 or newer.\n- Install the latest version of [Visual Studio](https:\u002F\u002Fdeveloper.microsoft.com\u002Fen-us\u002Fwindows\u002Fdownloads) (the free community edition is sufficient).\n  - Install the \"Universal Windows Platform Development\" workload.\n  - Install the optional \"C++ Universal Windows Platform tools\" component.\n  - Install the latest Windows 11 SDK.\n\n  ![Visual Studio Installation Screenshot](docs\u002FImages\u002FVSInstallationScreenshot.png)\n- Install the [XAML Styler](https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=TeamXavalon.XAMLStyler) Visual Studio extension.\n\n- Get the code:\n    ```\n    git clone https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fcalculator.git\n    ```\n\n- Open [src\\Calculator.sln](\u002Fsrc\u002FCalculator.sln) in Visual Studio to build and run the Calculator app.\n- For a general description of the Calculator project architecture see [ApplicationArchitecture.md](docs\u002FApplicationArchitecture.md).\n- To run the UI Tests, you need to make sure that\n  [Windows Application Driver (WinAppDriver)](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FWinAppDriver\u002Freleases\u002Flatest)\n  is installed.\n\n## Contributing\nWant to contribute? The team encourages community feedback and contributions. Please follow our [contributing guidelines](CONTRIBUTING.md).\n\nIf Calculator is not working properly, please file a report in the [Feedback Hub](https:\u002F\u002Finsider.windows.com\u002Fen-us\u002Ffb\u002F?contextid=130).\nWe also welcome [issues submitted on GitHub](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fcalculator\u002Fissues).\n\n## Roadmap\nFor information regarding Windows Calculator plans and release schedule, please see the [Windows Calculator Roadmap](docs\u002FRoadmap.md).\n\n### Graphing Mode\nAdding graphing calculator functionality [is on the project roadmap](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fcalculator\u002Fissues\u002F338) and we hope that this project can create a great end-user experience around graphing. To that end, the UI from the official in-box Windows Calculator is currently part of this repository, although the proprietary Microsoft-built graphing engine, which also drives graphing in Microsoft Mathematics and OneNote, is not. Community members can still be involved in the creation of the UI, however developer builds will not have graphing functionality due to the use of a [mock implementation of the engine](\u002Fsrc\u002FGraphingImpl\u002FMocks) built on top of a\n[common graphing API](\u002Fsrc\u002FGraphingInterfaces).\n\n## Diagnostic Data\nThis project collects usage data and sends it to Microsoft to help improve our products and services.\nRead our [privacy statement](https:\u002F\u002Fgo.microsoft.com\u002Ffwlink\u002F?LinkId=521839) to learn more.\nDiagnostic data is disabled in development builds by default, and can be enabled with the `SEND_DIAGNOSTICS`\nbuild flag.\n\n## Currency Converter\nWindows Calculator includes a currency converter feature that uses mock data in developer builds. The data that\nMicrosoft uses for the currency converter feature (e.g., in the retail version of the application) is not licensed\nfor your use. The mock data will be clearly identifiable as it references planets instead of countries,\nand remains static regardless of selected inputs.\n\n## Reporting Security Issues\nPlease refer to [SECURITY.md](.\u002FSECURITY.md).\n\n## License\nCopyright (c) Microsoft Corporation. All rights reserved.\n\nLicensed under the [MIT License](.\u002FLICENSE).\n","Windows Calculator 是一款随Windows系统预装的现代应用程序，采用C++和C#编写。它提供标准、科学及程序员模式下的计算功能，支持多种单位转换与货币换算，并具备日期计算、历史记录和记忆功能。该计算器还支持无限精度的基本算术运算，确保结果准确无误。适用于需要进行日常计算、科学计算、编程相关计算或单位及货币转换的场景。项目遵循MIT许可协议开放源代码，欢迎社区贡献。",2,"2026-06-11 03:37:59","high_star"]