Math.Max
--------

Calculates maximum of given values.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Math](component_Math.md) | [12.1](newinversion121.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Math.Max"; Values... ) 

**MBS**( **"Math.Max";** /\* Calculates maximum of given values. \*/  
**$Values...**) /\* Pass an argument for each value or list of values.e.g. 123 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Values... | Pass an argument for each value or list of values. | 123 |

### Result

Returns number or error.

### Description

Calculates maximum of given values.  
Takes values from arguments, which may be list of values or single values.  
Returns empty result if no values are passed.  
  
This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.  
Please repeat Values parameter as often as you need.  
### Examples

Find maximum of a list:

 MBS ( "Math.Max"; "1¶6¶4" )  
### See also

- [Math.Min](MathMin.md)

### Release notes

- **Version 12.1**
    - Added [math](https://www.mbsplugins.eu/component_Math.shtml) functions: [Math.Average](https://www.mbsplugins.eu/MathAverage.shtml), [Math.Max](https://www.mbsplugins.eu/MathMax.shtml), [Math.Median](https://www.mbsplugins.eu/MathMedian.shtml), [Math.Min](https://www.mbsplugins.eu/MathMin.shtml), [Math.Multiply](https://www.mbsplugins.eu/MathMultiply.shtml), [Math.Reciprocal](https://www.mbsplugins.eu/MathReciprocal.shtml), [Math.StandardDeviation](https://www.mbsplugins.eu/MathStandardDeviation.shtml), and [Math.Sum](https://www.mbsplugins.eu/MathSum.shtml).

### Blog Entries

- [New in MBS FileMaker Plugin 12.1](https://www.mbsplugins.de/archive/2022-03-22/New_in_MBS_FileMaker_Plugin_12/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 12.1](https://www.mbsplugins.de/archive/2022-03-15/Neues_MBS_FileMaker_Plugin_121/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 12.1 - More than 6700 Functions In One Plugin](https://www.mbsplugins.de/archive/2022-03-15/MBS_FileMaker_Plugin_121_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.1pr1](https://www.mbsplugins.de/archive/2022-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 28th January 2022 , last changed 30th January 2023

  
[Math.IsValidCC](MathIsValidCC.md) - [Math.Median](MathMedian.md)

[HTML Version](MathMax.shtml)