Math.MillimeterToPixel
----------------------

Converts a millimeter value to pixel.

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

MBS( "Math.MillimeterToPixel"; Value; Resolution ) 

**MBS**( **"Math.MillimeterToPixel";** /\* Converts a millimeter value to pixel. \*/  
**$Value**; /\* The value to convert.e.g. 123 \*/   
**$Resolution**) /\* The resolution used in dpi. Default is 72 dpi.e.g. 72 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The value to convert. | 123 |
| Resolution | The resolution used in dpi. Default is 72 dpi. | 72 |

### Result

Return value or error.

### Description

Converts a millimeter value to pixel.  
The formula is: result = value / 25.4 \* resolution.  
### Examples

Convert 300 millimeter to pixel:

 MBS ( "Math.MillimeterToPixel"; 300 )  
### Blog Entries

- [MBS Filemaker Plugin, version 3.4pr7](https://www.mbsplugins.de/archive/2013-10-05/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[Math.Median](MathMedian.md) - [Math.Min](MathMin.md)

[HTML Version](MathMillimeterToPixel.shtml)