Continuing the Easing library.
// FLOAT compare to INTEGER public static bool IsEqual(this double doublevalue, int intValue) { if (Math.Abs(doublevalue - intValue) <= double.Epsilon) return true; else return false; }
Continuing the Easing library.
// FLOAT compare to INTEGER public static bool IsEqual(this double doublevalue, int intValue) { if (Math.Abs(doublevalue - intValue) <= double.Epsilon) return true; else return false; }
Easing is cool.
Here’s some completely unrelated code to prove it:
public OpcManager() { OpcServer = new OPCAutomation.OPCServer(); Group = new Dictionary<string, opcgroup="">(); IsConnected = false; }