コード例 #1
0
        //===============================================================================

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