My Math Forum  

Go Back   My Math Forum > Math Forums > Math

Math General Math Forum - For general math related discussion and news


Thanks Tree2Thanks
  • 1 Post By topsquark
  • 1 Post By skipjack
Reply
 
LinkBack Thread Tools Display Modes
January 25th, 2019, 03:22 AM   #1
Member
 
Joined: Feb 2018
From: England

Posts: 60
Thanks: 0

Binary to hex

Hi all,

Should I represent 1000 1101 1010₂ as

8DA or (8DA)₁₆?

Thanks.
NAC54321 is offline  
 
January 25th, 2019, 03:58 AM   #2
Math Team
 
topsquark's Avatar
 
Joined: May 2013
From: The Astral plane

Posts: 2,042
Thanks: 815

Math Focus: Wibbly wobbly timey-wimey stuff.
Quote:
Originally Posted by NAC54321 View Post
Hi all,

Should I represent 1000 1101 1010₂ as

8DA or (8DA)₁₆?

Thanks.
If the person you are communicating with knows that the result will be in hexadecimal then you can leave off the 16 subscript. If they don't know that then include the 16. When in doubt put in the 16.

-Dan
Thanks from JeffM1
topsquark is offline  
January 25th, 2019, 06:02 AM   #3
Global Moderator
 
Joined: Dec 2006

Posts: 20,298
Thanks: 1971

In some contexts, such as certain computer programming languages that allow hexadecimal constants, 0x8DA would be used.
Thanks from topsquark
skipjack is offline  
January 28th, 2019, 02:34 AM   #4
Member
 
Joined: Feb 2018
From: England

Posts: 60
Thanks: 0

Thanks All for the feedback.
NAC54321 is offline  
February 4th, 2019, 11:12 PM   #5
Newbie
 
Joined: Feb 2019
From: Europe

Posts: 1
Thanks: 0

Hi, the prefix 0x is used in C and related languages, which would denote your value by 0x8DA. You can find out more about hexadecimal numbers and how to convert to binary or decimal at https://www.bin-dec-hex.com/binary-to-hex-converter/
PetrZidek is offline  
Reply

  My Math Forum > Math Forums > Math

Tags
binary, hex



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
0.1 binary ungeheuer Algebra 3 October 26th, 2013 09:33 AM
Binary to hexadecimal Igo Computer Science 3 September 7th, 2012 04:58 AM
Binary Proof Xhin Number Theory 2 February 3rd, 2011 12:27 PM
binary composition poojabi Abstract Algebra 1 November 25th, 2010 02:54 PM
Binary is hacked g_litched Algebra 0 March 23rd, 2010 09:53 AM





Copyright © 2019 My Math Forum. All rights reserved.