UUID.ToNumber
-------------

Converts from UUID number to formatted UUID.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UUID](component_UUID.md) | [8.2](newinversion82.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "UUID.ToNumber"; UUID ) 

**MBS**( **"UUID.ToNumber";** /\* Converts from UUID number to formatted UUID. \*/  
**$UUID**) /\* The UUID to convert.e.g. "CE55AC8A-2236-4E05-A654-C2B092E61D0F" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| UUID | The UUID to convert. | "CE55AC8A-2236-4E05-A654-C2B092E61D0F" |

### Result

Returns OK or error.

### Description

Converts from UUID number to formatted UUID.  
### Examples

Convert UUID:

 MBS ( "UUID.ToNumber"; "CE55AC8A-2236-4E05-A654-C2B092E61D0F" )  
<small>  
Example result: 274265811883194525999390578526946467087</small>Convert from one to other direction:

 Let ( \[  
u = Get(UUID) ;   
n = MBS ( "UUID.ToNumber"; u );  
b = MBS ( "[UUID.FromNumber](UUIDFromNumber.md)"; n ) \];   
u &amp; ¶ &amp; n &amp; ¶ &amp; b )  
### See also

- [UUID.FromNumber](UUIDFromNumber.md)
- [UUID.Number](UUIDNumber.md)

### Release notes

- **Version 11.2**
    - Optimized [UUID.FromNumber](https://www.mbsplugins.eu/UUIDFromNumber.shtml) and [UUID.ToNumber](https://www.mbsplugins.eu/UUIDToNumber.shtml) to be a bit quicker.
- **Version 8.2**
    - Added [UUID.FromNumber](http://www.mbsplugins.eu/UUIDFromNumber.shtml) and [UUID.ToNumber](http://www.mbsplugins.eu/UUIDToNumber.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 11.2pr1](https://www.mbsplugins.de/archive/2021-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.2 - More than 5200 Functions In One Plugin](https://www.mbsplugins.de/archive/2018-05-22/MBS_FileMaker_Plugin_82_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.2 - 5200 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2018-05-22/MBS_FileMaker_Plugin_82_-_5200/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.2pr8](https://www.mbsplugins.de/archive/2018-05-16/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 15th May 2018 , last changed 15th May 2018

  
[UUID.TimeFromUUIDv7](UUIDTimeFromUUIDv7.md) - [UUID.UUIDv7](UUIDUUIDv7.md)

[HTML Version](UUIDToNumber.shtml)