min

Summary

Returns the lowest number from the specified range of values.

Signatures

Click on a signature to select it and view its documentation.

Usage

public static int min(...int values)

Returns

The lowest number from the specified inputs.

Parameters

values

The range of values.

Description

Returns the lowest number from the specified range of values.

Examples

Basic Usage
1
2
3
import System;
 
Console.log(Math.min(2, 5, 1, 3)); // 1

Share

HTML | BBCode | Direct Link