Exemple #1
0
 //メールからフィートへの対応表を出力
 private static void PrintInchToMeterList(int start, int stop)
 {
     for (int inch = start; inch <= stop; inch++)
     {
         double meter = InchConverter.ToMeter(inch);
         Console.WriteLine("{0} inch= {1:0.0000}m ", inch, meter);
     }
 }
Exemple #2
0
 private static void PrintMeterToInchList(int start, int stop)
 {
     for (int meter = start; meter <= stop; meter++)
     {
         double inch = InchConverter.ToMeter(meter);
         Console.WriteLine("{0} m = {1:0.0000} inch", meter, inch);
     }
 }
Exemple #3
0
 //メートルからインチへの対応表を出力
 private static void PrintInchToMeterList(int start, int stop)
 {
     for (int meter = 0; start < stop; start++)
     {
         double Inch = InchConverter.ToMeter(meter);
         Console.WriteLine("{0} m = {1:0.0000} inch", Inch, meter);
     }
 }
Exemple #4
0
 // 피트에서 미터로의 환산표를 출력
 static void PrintInchToMeterList(int start, int stop)
 {
     for (int feet = start; feet <= stop; feet++)
     {
         double meter = InchConverter.ToMeter(feet);
         Console.WriteLine("{0} inch = {1:0.0000} m", feet, meter);
     }
 }