This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-17 14:07:43

bob6
Scratcher
Registered: 2010-07-01
Posts: 100+

Math Geeks: the NEW and IMPROVED base convertor! V.3!

I have finally figured out how to convert numbers to bases above 10!
I have tried to make it a base 36 under convert to base 36 under, but because letters can be caps, the best I can do is base 10 under converts to base 36 under.
This baby converts with lightning speed. But for your safety: It is capable of spelling out swear words if you enter the right digits and the right bases. use at your own risk.
I want to see at least some people luv-it'ing this: it took a LONG time to figure out.
so without further ado, here is the link to epicness XD:

http://scratch.mit.edu/projects/bob6/2617639

Molybdenum wrote:

Interesting. Try converting 544722 from base 10 to base 36!

(Suggestion: Allow the input base to be greater than 10.)

very nice, Molybdenum! I see that like me, you also know how to convert bases by hand!


And remember everybody:

when gf clicked
if <(epic)=(you)>
  forever
    go to [luv-it button]
  end
else
  say [U fail] for (∞) secs

Last edited by bob6 (2012-06-17 15:20:43)


http://i46.tinypic.com/3148ksz.gif

Offline

 

#2 2012-06-17 14:16:08

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Math Geeks: the NEW and IMPROVED base convertor! V.3!

Interesting. Try converting 544722 from base 10 to base 36!

(Suggestion: Allow the input base to be greater than 10.)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#3 2012-06-17 14:28:50

bob6
Scratcher
Registered: 2010-07-01
Posts: 100+

Re: Math Geeks: the NEW and IMPROVED base convertor! V.3!

Molybdenum wrote:

(Suggestion: Allow the input base to be greater than 10.)

well, I wanted that, except for the fact that I don't know how to make Scratch recognize letters and convert them to base 10.


http://i46.tinypic.com/3148ksz.gif

Offline

 

#4 2012-06-17 15:06:22

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Math Geeks: the NEW and IMPROVED base convertor! V.3!

Hmm... I haven't found the need for somthing like that, so I don't have any ideas for it...

And the BOB4 was converted with the help of Wolfram|Alpha (wolframalpha.com). But I can do it by hand (if the numbers are small).


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#5 2012-06-17 15:22:10

bob6
Scratcher
Registered: 2010-07-01
Posts: 100+

Re: Math Geeks: the NEW and IMPROVED base convertor! V.3!

bob6, you mean.  smile
And one more thing: U R LAZY 1!
It is just multiplying. Nothing special.


http://i46.tinypic.com/3148ksz.gif

Offline

 

#6 2012-06-17 15:26:53

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Math Geeks: the NEW and IMPROVED base convertor! V.3!

I know. But its (((11*36+24)*36)+11)*36+6. A bit long/big, isn't it?

And yes, I did mean BOB6. (New scratchers don't have an edit button  sad )


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#7 2012-06-19 23:02:50

bob6
Scratcher
Registered: 2010-07-01
Posts: 100+

Re: Math Geeks: the NEW and IMPROVED base convertor! V.3!

Bump!


http://i46.tinypic.com/3148ksz.gif

Offline

 

Board footer