Author Topic: Microsoft Access Function Library: Hex()  (Read 3837 times)

bbasujon

  • Administrator
  • VIP Member
  • *****
  • Posts: 1826
  • I want to show my performance at any where
    • View Profile
    • Higher Education
Microsoft Access Function Library: Hex()
« on: August 15, 2012, 05:23:12 PM »
Function: Hex()

Purpose: The Hex() function converts a whole number into a string containing its hexadecimal representation.

Usage: Hex(value)

Value is a numeric or string expression that evaluates to a number. If it evaluates to a decimal number, Hex() rounds it to the nearest whole number prior to conversion.


Returns: String containing the hexadecimal value.

Examples and Special Cases

 Hex(12)= "b"
 Hex(125)= "7d"
 Hex(125.4)= "7d"
 Hex(125.6)= "7e"
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection