Discuss Scratch
- Discussion Forums
- » Suggestions
- » Bin (Binary) of
- HaydenAgain
-
100+ posts
Bin (Binary) of
Bin of block. Can scratch add this block?
(Block broken)
When you type 2, it reports 10. When you type 5, it will report 101.
Type: Operators
(Block broken)
([bin v] of ())How it works:
When you type 2, it reports 10. When you type 5, it will report 101.
Type: Operators
Last edited by HaydenAgain (Aug. 7, 2022 12:15:41)
- -Valtren-
-
1000+ posts
Bin (Binary) of
semi-support. while this would somehow be useful I can't think of a single thing where I would need binary
it'll also be confusing for new users and has no real use
it'll also be confusing for new users and has no real use
- yavuz61035
-
500+ posts
Bin (Binary) of
maybe base-2 instead of bin?
this would be useful for projects where you need to convert to binary
also maybe a base-10 converter?
this would be useful for projects where you need to convert to binary
also maybe a base-10 converter?
- banana439monkey
-
1000+ posts
Bin (Binary) of
to go from there…
Banana
([bin v] of []:: operators)possibly?
([ASCII v] of [] :: operators)
([unicode v] of [] :: operators)
Banana
Last edited by banana439monkey (Aug. 9, 2022 19:59:00)
- SonicFanX123_321
-
1000+ posts
Bin (Binary) of
to go from there…([bin v] of []:: operators)possibly?
([ASCII v] of [] :: operators)
([unicode v] of [] :: operators)
Banana
([hex v] of [] :: operators)
([oct v] of [] :: operators)
Last edited by SonicFanX123_321 (Aug. 11, 2022 11:47:06)
- gilbert_given_189
-
1000+ posts
Bin (Binary) of
(necro)Bumping this topic about base conversions.
It would be nice if there's the reverse as well:
It would be nice if there's the reverse as well:
(() to [binary v] :: operators)Edit: Wait, that's the suggestion! I should've read it better.
(() to [octal v] :: operators)
(() to [hex v] :: operators)
Last edited by gilbert_given_189 (Feb. 22, 2025 06:10:00)
- Elijah999999
-
1000+ posts
Bin (Binary) of
This would be very nice, but it would also be nice to have the ability to convert it between any base.
(convert [] from base [] to base [] :: operators)
- AvidOsirianGuy
-
100+ posts
Bin (Binary) of
[#1b37da] to hex :: sensing reporterBetter HEX block concepts, I guess.
hex of [#49e84b] :: sensing reporter
- han614698
-
1000+ posts
Bin (Binary) of
Good idea but:[#1b37da] to hex :: sensing reporterBetter HEX block concepts, I guess.
hex of [#49e84b] :: sensing reporter
1. That is completely unrelated to this suggestion.
2. Those blocks are functionally useless because you couldn’t put in your own input. They’re just constants and Scratch has previously rejected constant blocks for the reason that you can do it yourself ahead of time.
- AvidOsirianGuy
-
100+ posts
Bin (Binary) of
(#9)ohGood idea but:[#1b37da] to hex :: sensing reporterBetter HEX block concepts, I guess.
hex of [#49e84b] :: sensing reporter
1. That is completely unrelated to this suggestion.
2. Those blocks are functionally useless because you couldn’t put in your own input. They’re just constants and Scratch has previously rejected constant blocks for the reason that you can do it yourself ahead of time.
- medians
-
1000+ posts
Bin (Binary) of
You can convert 2/8/16 to 10 or decimal, as bases are actually supported lol: This would be very nice, but it would also be nice to have the ability to convert it between any base.(convert [] from base [] to base [] :: operators)
(join [0x] (num to convert::grey)) + (0)You can change the “x” to b for binary and o for octal
Last edited by medians (Feb. 22, 2025 03:54:22)
- Discussion Forums
- » Suggestions
-
» Bin (Binary) of