Math.Min : Math « System « C# / C Sharp by API






Math.Min

  
using System;

public class MainClass {
    public static void Main() {

        int i = 5;
        Console.WriteLine("Math.Min(1,2) = {0}", Math.Min(i, 2.5F));
    }
}

   
    
  








Related examples in the same category

1.Math.Abs
2.Math.Cos()
3.Math.PI
4.Math.Round
5.Math.Sign
6.Math.Sin()
7.Math.Sqrt
8.Math.Tan()