Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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