Exemplo n.º 1
0
 private void DefaultFormat(DataStore data)
 {
     data.AddFormat(Math.Sqrt(2) / 2, "√2 / 2")
     .AddFormat(-Math.Sqrt(2) / 2, "-√2 / 2")
     .AddFormat(Math.Sqrt(3) / 2, "√3 / 2")
     .AddFormat(-Math.Sqrt(3) / 2, "-√3 / 2")
     .AddFormat(Math.PI / 2, "π/2")
     .AddFormat(Math.PI / 3, "π/3")
     .AddFormat(Math.PI / 4, "π/4");
 }