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  

Math.HexToDec

Converts a hexadecimal number to a normal decimal number.

Component Version macOS Windows Linux Server iOS SDK
Math 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Math.HexToDec"; hexNumber )   More

Parameters

Parameter Description Example
hexNumber The hex number you want to convert to hexadecimal. FEDC

Result

Returns the decimal number.

Description

Converts a hexadecimal number to a normal decimal number.
Works with 32 bit integers, so hex number has a maximal length of 8 characters.

Examples

Query number for hex number FFFF (returns 65535)

MBS( "Math.HexToDec"; "FFFF" )

Example Databases

Blog Entries

This function is free to use.

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


Math.FormatNumber - Math.InchToPixel

💬 Ask a question or report a problem