+92 332 4229 857 99ProjectIdeas@Gmail.com

Math Min function (Vb.net)


Math.Min (Vb.net)
Math.Min() function returns the largest of two given numbers.
Input parameter data type
Math.Min() function can take any of the following data type of input parameters:
  • SByte
  • Byte
  • Short
  • UShort
  • Integer
  • UInteger
  • Long
  • ULong
  • Single
  • Double
  • Decimal
Example
MsgBox(Math.Min(10, 20))
Return Value
The message box will display 10.

0 comments: