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

You are not logged in.

- Topics: Active | Unanswered

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,559

Here is a TEST version of the Binary/Decimal/Hexadecimal Converter

I have added a button (top left) which formats the binary with leading zeros (and fractional part with trailing zeros) ... 4 at a time to match a hex digit.

What do you think? Can you throw different examples at it to see if it works fine (before I make it live).

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**bob bundy****Moderator**- Registered: 2010-06-20
- Posts: 6,797

hi MathsIsFun

Yes, that works ok for me.

The leading/trailing zeros feature is really good. Any chance of a small gap between each group of 4 to make it easier to read?

Bob

You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei

Offline

**ganesh****Moderator**- Registered: 2005-06-28
- Posts: 16,082

Hi MathsIsFun,

The Binary/Decimal/Hexadecimal Converter works fine for me too!

I checked the Base 2/10/16 numbers 1, 11, 111, 1111 and found correct.

Character is who you are when no one is looking.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 92,964

Hi;

Worked well here. Could use larger input boxes.

**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

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,559

Thanks guys!

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**noelevans****Member**- Registered: 2012-07-20
- Posts: 236

Thanks! Works great! Handles enough digits to do my bank account in binary

How hard would it be to allow the user to input a base of their own choosing?

Have a great day!

Writing "pretty" math (two dimensional) is easier to read and grasp than LaTex (one dimensional).

LaTex is like painting on many strips of paper and then stacking them to see what picture they make.

Offline

**muxdemux****Member**- Registered: 2012-12-23
- Posts: 80

Seems pretty good to me. I think it might be a good idea to restrict the range of the numbers so they always fit properly in their boxes. Other than that I can't complain.

Just out of curiosity, why haven't you written this in JS/HTML instead of flash? (I'm not suggesting that you do, I'm just curious).

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,559

muxdemux: I simply love programming in Actionscript 3. It is responsive, reliable and each app is self-contained, so library changes don't impact on other live apps.

Glad you all approve, I have made it the live version now.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**mathgogocart****Member**- Registered: 2012-04-29
- Posts: 1,440

! really good.

Hey.

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,891

Hi MIF

How did you learn to write in ActionScript?

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,559

I downloaded FlashDevelop and got stuck into it (plus lots of Googling).

Offline

**mathgogocart****Member**- Registered: 2012-04-29
- Posts: 1,440

MathsIsFun wrote:

I downloaded FlashDevelop and got stuck into it (plus lots of Googling).

Hard WORK!

Hey.

Offline

**mathaholic****Member**- From: idk
- Registered: 2012-11-29
- Posts: 2,905
- Website

Harder work than the hardest work of all.

I will have a name change soon. By the way, welcome to the Philippines, Pope Francis!

Offline