Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colinkiama/averager
UWP Runtime Component that calculates the average for you extremely easily.
https://github.com/colinkiama/averager
average avg calculation calculations csharp csharp-code easy-to-use math maths quick-maths quickmaths uwp uwp-dev uwp-development windows windows-10 windows-runtime-component winrt
Last synced: about 2 months ago
JSON representation
UWP Runtime Component that calculates the average for you extremely easily.
- Host: GitHub
- URL: https://github.com/colinkiama/averager
- Owner: colinkiama
- License: mit
- Created: 2018-01-17T02:16:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T09:36:04.000Z (about 1 year ago)
- Last Synced: 2024-11-04T19:08:08.510Z (2 months ago)
- Topics: average, avg, calculation, calculations, csharp, csharp-code, easy-to-use, math, maths, quick-maths, quickmaths, uwp, uwp-dev, uwp-development, windows, windows-10, windows-runtime-component, winrt
- Language: C#
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Averager
UWP Runtime Component (class that works with C#, JavaScript and C++) which calculates the average for you extremely easily.## How To Start Using This:
Open the Nuget Package Manager console and enter this command:`Install-Package Averager.ColinKiama`
or...
In a a Universal Windows Project, go to Tools > NuGet Package Manager > Manage NuGet Packages for Solution then on the "Browse" section, search for "Averager.ColinKiama" then, you can install the package for each project you want to use in your current solution.## Tutorial:
There are two ways to use this:First method:
``` C#
// Create a list/arrary and enter it as the argument
int[] numbers = {1,2,3};
AverageCalculator.GetAverage(numbers); // returns 2;
```Second Method:
``` C#
// Manually list any number of arguments yourself
AverageCalculator.GetAverage(1,2,3); // returns 2;
```