//public static sbyte Abs(sbyte value) //{ // return JsMath.abs(value).As<sbyte>(); //} public static float Abs(float value) { return(JsMath.abs(value).As <float>()); }
public static long Abs(long value) { return(JsMath.abs((decimal)value).As <long>()); }
public static double Abs(double value) { return(JsMath.abs(value).As <double>()); }
//public static short Abs(short value) //{ // return JsMath.abs(value).As<short>(); //} public static int Abs(int value) { return(JsMath.abs(value).As <int>()); }
public static double PI = JsMath.PI;// 3.1415926535897931; public static JsNumber Abs(JsNumber value) { return(JsMath.abs(value)); }