Jump to content

Base number

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts
Convert to decimal

1) 2AC5FFh
2) 00111,001


1) Ignore the h?
The answer is 2803199 ?

2) The answer is 7,8 ?

#2
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
did you know the forum got a converter for this? In the top menu, Resources and then ACII Calculator.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts

Apprentice123 said:

Convert to decimal

1) 2AC5FFh
2) 00111,001


1) Ignore the h?
The answer is 2803199 ?

2) The answer is 7,8 ?
1) correct
2) 7 1/8 = 7.125
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts

WingedPanther said:

1) correct
2) 7 1/8 = 7.125

Why 1/8 ?

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Assuming , is your decimal separator, positions to the right of it are negative powers of 2. As a result, 0,001 is 2^-3 = 1/(2^3) = 1/8.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts

WingedPanther said:

Assuming , is your decimal separator, positions to the right of it are negative powers of 2. As a result, 0,001 is 2^-3 = 1/(2^3) = 1/8.

Ok. Thank you