About 797,000 results
Open links in new tab
  1. hex - hexadecimal converting back into decimal - Stack Overflow

    Jul 26, 2013 · My book says the hexadecimal notation FFFF equals 65535 in decimal value. As I understand it that equals to 2^16. There are a couple of things I still don't fully understand. 1) Is …

  2. How do I convert hex to decimal in Python? - Stack Overflow

    Feb 9, 2012 · I have some Perl code where the hex() function converts hex data to decimal. How can I do it on Python?

  3. Convert hex string to integer in Python - Stack Overflow

    Jul 30, 2022 · Worth repeating "Letting int infer If you pass 0 as the base, int will infer the base from the prefix in the string." How to convert from hexadecimal or decimal (or binary) to integer as python …

  4. How to calculate size of memory by given a range of address?

    In your example for Range 1, you are correct. That is the size of the memory, stated in hexidecimal, in bytes. You may gain the most insight by first converting 00FF FFFF to a decimal number, then …

  5. Convert FFFFFF to decimal value (C language) - Stack Overflow

    Dec 25, 2013 · I am trying to convert a string representing a 24-bit hexadecimal number (FFFFFF) to its decimal equivalent (-1). Could anyone help me understand why the following code does not return …

  6. php - why use 0xffff over 65535 - Stack Overflow

    Oct 30, 2012 · I've seen some PHP script which uses 0xffff in mt_rand(0, 0xffff). I do echo 0xffff; and results to 65535. Is there any significance of using this 0xffff? And also what is that?

  7. c++ - Can std::hex input format support negtive int16_t hex string with ...

    May 24, 2023 · Enter a hexadecimal number: ffff Decimal representation: 32767 You see, the result value 32767 is the largest value of int16_t. So, my guess is that the line std::cin >> std::hex >> num; …

  8. Why convert 0xffffffff to decimal is -1 in C? - Stack Overflow

    Jul 17, 2012 · Why convert 0xffffffff to decimal is -1 in C? Asked 13 years, 5 months ago Modified 5 years, 7 months ago Viewed 12k times

  9. vba - Hexadecimal to Decimal In Excel - Stack Overflow

    Aug 31, 2021 · I am trying to convert a Hexadecimal value to a decimal one in excel with this reference. Used parameters and formulas: Input Hex value : 0x044F3B9AFA6C80 and expected output : …

  10. How to convert a UUID to a number with less than 40 digits?

    Feb 16, 2022 · I need to convert a UUID (like ffffffff-ffff-ffff-ffff-ffffffffffff) to a number with as least digits as possible. These UUIDs are being generated by com.fasterxml.uuid.impl.TimeBasedGenerator.java.