Skip to main content

Encr_BinaryToNum (function reference)

By April 20, 2023April 25th, 2023Online Help, Troi Encryptor Plug-in
Troi Encryptor Plug-in for FileMaker Pro

Encr_BinaryToNum

Converts a binary number to its decimal representation.

SyntaxFunction badge

Encr_BinaryToNum ( switches ; binaryNumber )

Parameters

switches reserved for future use, leave empty or set to "-Unused"
binaryNumber the number that needs to be converted to its decimal representation

Returned Result

Data type returned

Number

Result

A decimal number

Originated in

Troi Encryptor Plug-in 1.2

Compatibility

FileMaker Pro 16 to FileMaker Pro 2023

Considerations

See also the Encr_NumToBinary function for the reverse functionality.

Example

Set Field [ result ; Encr_BinaryToNum ( "-Unused" ; 10 ) ]

will return as result 2.

Set Field [ result ; Encr_BinaryToNum ( "-Unused" ;  10010 ) ]

will return as result 18.

Used in example file

CheckSignature.fmp12

Related functionFunction badge

Encr_NumToBinary

Related topics

Troi Encryptor Plug-in online help (overview)


Online Help Page for Troi Encryptor Plug-in for 16 to 2023 –> Encr_BinaryToNum (encrp4201) 2023-0425 15:42:44