Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Converts a number to a hexadecimal number.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Math | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
number | The number you want to convert to hexadecimal. | 1234 | |
NoLeadingZeros | Optional, whether to avoid leading zeros. Default is 0. | 0 | Optional |
Returns the hexadecimal number.
Query number for 65535. Returns 0000FFFF.
MBS( "Math.DecToHex"; 65535 )
Query number without leading zeros for 4096. Returns 1000.
MBS( "Math.DecToHex"; 4096 )
This function is free to use.
Created 18th August 2014, last changed 18th August 2014