Skip to content

A small c# library for math operations and a few expanded math functions.

License

Notifications You must be signed in to change notification settings

danielandastro/tinyMath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyMath

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);

    }
}

}

About

A small c# library for math operations and a few expanded math functions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published