Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Math.HexToDec

Converts a hexadecimal number to a normal decimal number.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Math 2.5 Yes Yes Yes Yes Yes

MBS( "Math.HexToDec"; hexNumber )

Parameters

Parameter Description Example value
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


Math.EncodeNumber   -   Math.InchToPixel

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins