Scratch for Java

Operators::tenToThePowerOf()

The 10^ function multiplies 10 times itself the value number of times. For example, if the value was 6, the answer would be 106 (that is 10×10×10×10×10×10), which is 1,000,000.

Examples

View on GitHub

Syntax

Java

.tenToThePowerOf(x)

Scratch

([10 ^ v] of (x))

Parameters

Name Data Type Description
x double a value

Return

double

tenToThePowerOf()

Create Shareable URL

Select Sections