Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**JASU****Member**- Registered: 2011-07-06
- Posts: 4

binary is- 0.000,000,000,001,001,01

HOW TO GET DECIMAL

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,150

Hi JASU;

Welcome to the forum.

- 0.000,000,000,001,001,01

Is that a minus sign in front?

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**JASU****Member**- Registered: 2011-07-06
- Posts: 4

It Is +0.000,000,000,001,001,01

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,150

Hi;

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,612

Considering the fact that this is in the coders corner, you may want some program to do the conversion for you, so I wrote a program in C:

*Last edited by Shivamcoder3013 (2011-09-02 12:30:06)*

Offline

**hammana****Member**- Registered: 2012-03-02
- Posts: 48

REM This program in Liberty Basic converts any numer a to any base b (I hopr it is right)

REM enter here your values of a and b

a=50109:b=10

e=1

while (a/b)>(b^e)

e=e+1

fl=fl+1

wend

e1=e

'print e1

'stop

for e=e1 to 1 step-1

if a>b^e then

n=int(a/b^e)

a=a-n*b^e

print n;

else

print 0;

end if

next e

print a

Offline

Pages: **1**