technologiclee
Nanotechnology, Software, CAD, Hardware
Sunday, February 28, 2010
http://docs.google.com/support/bin/answer.py?hl=en&funcType=engineering&answer=82712
Function
Syntax
Description
Binary to decimal
BIN2DEC(number)
Converts a binary number to its decimal value.
View example (in new window
)
Hide example | View in new window
Binary to hexadecimal
BIN2HEX(number, places)
Converts a binary number to its hexadecimal value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Binary to octal
BIN2OCT(number, places)
Converts a binary number to its octal value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Decimal to binary
DEC2BIN(number, places)
Converts a decimal number to its binary value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Decimal to hexadecimal
DEC2HEX(number, places)
Converts a decimal number to its hexadecimal value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Decimal to octal
DEC2OCT(number, places)
Converts a decimal number to its octal value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Hexadecimal to binary
HEX2BIN(number, places)
Converts a hexadecimal number to its binary value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Hexadecimal to decimal
HEX2DEC(number)
Converts a hexadecimal number to its decimal value.
Hexadecimal to octal
HEX2OCT(number, places)
Converts a hexadecimal number to its octal value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Octal to binary
OCT2BIN(number, places)
Converts an octal number to its binary value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
Octal to decimal
OCT2DEC(number)
Converts an octal number to its decimal value.
Octal to hexadecimal
OCT2HEX(number, places)
Converts an octal number to its hexadecimal value. Places (optional) is the number of characters to use in the result. If it is larger than the number, it will pad the result with leading zeros.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment