Discuss Scratch
- Discussion Forums
- » Suggestions
- » Could we please have an exponents block? ( ) ^ ( )
- CodeComet6161
-
Scratcher
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
bump, also this would be nice with this:
[] ^ []::operators reporter
[] √ []::operators reporter
[] ^^ []::operators reporter//<--- What I want
Last edited by CodeComet6161 (Oct. 3, 2025 10:20:50)
- mtaka4
-
Scratcher
500+ posts
Could we please have an exponents block? ( ) ^ ( )
bump, also this would be nice with this:√ <- this?[] ^ []::operators reporter
[] root []::operators reporter// help me i need a root symbol
[] ^^ []::operators reporter//<--- What I want
- CodeComet6161
-
Scratcher
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
thanks ^-^bump, also this would be nice with this:√ <- this?[] ^ []::operators reporter
[] root []::operators reporter// help me i need a root symbol
[] ^^ []::operators reporter//<--- What I want
- mtaka4
-
Scratcher
500+ posts
Could we please have an exponents block? ( ) ^ ( )
Cool, but workaround if you mean something like 1²
define power of (number) (small number)
repeat ((small number) - (1))
set [result v] to ((number) * (number))
end
- jmb1293634
-
Scratcher
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
Cool, but workaround if you mean something like 1²it doesn't work with decimalsdefine power of (number) (small number)
repeat ((small number) - (1))
set [result v] to ((number) * (number))
end
- mtaka4
-
Scratcher
500+ posts
Could we please have an exponents block? ( ) ^ ( )
Yeah you have a pointCool, but workaround if you mean something like 1²it doesn't work with decimalsdefine power of (number) (small number)
repeat ((small number) - (1))
set [result v] to ((number) * (number))
end
- ywps231326-2
-
New Scratcher
2 posts
Could we please have an exponents block? ( ) ^ ( )
hope they will add this
Last edited by ywps231326-2 (Oct. 6, 2025 12:13:52)
- ywps231326-2
-
New Scratcher
2 posts
Could we please have an exponents block? ( ) ^ ( )
scratchblocks (5).png hope so
- 2357895
-
Scratcher
58 posts
Could we please have an exponents block? ( ) ^ ( )
I support this. Exponents are a very important part of math and putting them in scratch would help more people learn how to use them (while also making the lives of scratch users easier).
- jasonzawtun
-
Scratcher
41 posts
Could we please have an exponents block? ( ) ^ ( )
I support this. Exponents are a very important part of math and putting them in scratch would help more people learn how to use them (while also making the lives of scratch users easier).
I Will support until it is added.
repeat until <not <(kumquat) > [0]>>
delete kumquat.
end
Last edited by jasonzawtun (Oct. 6, 2025 23:55:24)
- BoyoolHarita
-
Scratcher
100+ posts
Could we please have an exponents block? ( ) ^ ( )
Cool, but workaround if you mean something like 1²This code does not update what “number” is, meaning it can only set result to number squared. Something more along the lines of the following would allow it to work properly (this did take some workshopping, but for every integer greater than or equal to 0 it works as it should)define power of (number) (small number)
repeat ((small number) - (1))
set [result v] to ((number) * (number))
end
define (number1) ^ (number2)
set [result v] to (1)
repeat (number2)
set [result v] to ((result) * (number1))
end
- Toodchop
-
Scratcher
100+ posts
Could we please have an exponents block? ( ) ^ ( )
There's a chance that it would look like this instead:
(() ** () :: operators)
- pippy2011eight
-
Scratcher
100+ posts
Could we please have an exponents block? ( ) ^ ( )
There's a chance that it would look like this instead:I think it's more likeley to look like this:(() ** () :: operators)
((2) ^ (5) ::operators)
- bloxyandbrew
-
Scratcher
100+ posts
Could we please have an exponents block? ( ) ^ ( )
+5, this is a good idea and has a pretty confusing workaround.
- mtaka4
-
Scratcher
500+ posts
Could we please have an exponents block? ( ) ^ ( )
+5, this is a good idea and has a pretty confusing workaround.Yeah. There's a workaround that works for decimals with
([10^ v] of ()::operators)this block, but it's very complicated.
- BZTC_Scratch
-
Scratcher
74 posts
Could we please have an exponents block? ( ) ^ ( )
But it is extremely limited! We do need a () ^ () block!!+5, this is a good idea and has a pretty confusing workaround.Yeah. There's a workaround that works for decimals with([10^ v] of ()::operators)this block, but it's very complicated.
- BZTC_Scratch
-
Scratcher
74 posts
Could we please have an exponents block? ( ) ^ ( )
bump, also this would be nice with this:[] ^ []::operators reporter
[] √ []::operators reporter
[] ^^ []::operators reporter//<--- What I want
scratch needs to add these
- jasonzawtun
-
Scratcher
41 posts
Could we please have an exponents block? ( ) ^ ( )
bump, also this would be nice with this:[] ^ []::operators reporter
[] √ []::operators reporter
[] ^^ []::operators reporter//<--- What I want
scratch needs to add these
say [Agreed.]
- Discussion Forums
- » Suggestions
-
» Could we please have an exponents block? ( ) ^ ( )










