Engineering Functions

Engineering  Functions

Name  

Description

bin2dec

Convert from binary to decimal: bin2dec( 101 ) -> 5

bin2hex

Convert from binary to hexadecimal: bin2hex( 101010 ) -> 2A

dec2bin

Convert from decimal to binary: dec2bin( 5 ) -> 101

dec2hex

Convert from decimal to hexadecimal: dec2hex( 13 ) -> D

hex2bin

Convert from hexadecimal to binary: hex2bin( "A" ) -> 1010

hex2dec

Convert from hexadecimal to decimal: hex2dec( "A" ) -> 10

 

 

Engineering Functions