A small c# library for math operations and a few expanded math functions. Operations - Add, subtract, multiply, divide, square, cube, raise to a power, factorial.
{Calling methods
tinyMath.Add("number1", "number2");
tinyMath.Subtract("number1", "number2");
tinyMath.Multiply("number1", "number2");
tinyMath.Divide("number1", "number2");
tinyMath.Square("number");
tinyMath.Cube("number");
tinyMath.Power("number", "power");
tinyMath.Factorial("number");
To get the answer use the variable: tinyMath.ans}
Deprecated
New sample code is here:
using System;
using tinyMath;
namespace tinyTest
{
class MainClass
{
public static void Main(string[] args)
{
TinyMath t = new TinyMath();
double x = t.Add(6, 7.6);
Console.Write(x);
}
}
}