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.

Syntax

Java

.tenToThePowerOf(x)

Parameters

Name Data Type Description
x double a value

Return

double

tenToThePowerOf()