Class RadMath
Inheritance
System.Object
RadMath
Namespace: Telerik.Maui
Assembly: Telerik.Maui.Core.dll
Syntax
public static class RadMath : Object
Fields
Epsilon
Declaration
public const double Epsilon = 0.001
Field Value
System.Double
|
Methods
AreClose(Double, Double, Double)
Declaration
public static bool AreClose(double num1, double num2, double epsilon = 0.001)
Parameters
System.Double
num1
|
System.Double
num2
|
System.Double
epsilon
|
Returns
System.Boolean
|
AreClose2(Double, Double, Double)
Declaration
public static bool AreClose2(double num1, double num2, double epsilon = 0.001)
Parameters
System.Double
num1
|
System.Double
num2
|
System.Double
epsilon
|
Returns
System.Boolean
|
IsInRange<T>(T, T, T)
Declaration
public static bool IsInRange<T>(T value, T min, T max)
where T : IComparable
Parameters
T
value
|
T
min
|
T
max
|
Returns
System.Boolean
|
Type Parameters
T
|