static public string RadianToString(double radians, int significantDigits) { return(Math2.ToString(ToUnitRadian(radians) / Math2.PI, significantDigits) + " " + ((char)0x03C0)); }
/// <summary> /// Convert value to a string representation and constain to a unit radian /// </summary> /// <param name="radians"></param> /// <param name="significantDigits"></param> /// <returns></returns> static public string RadiansToString(double radians, int significantDigits) { return(Math2.ToString(ToUnitRadian(radians) / Math2.PI, significantDigits) + "PI"); }