Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

Operators::absOf()

"abs" is an abbreviation for "absolute value." The absolute value of a number is its distance from 0. A simpler way to describe an absolute value is that it makes any number positive. If it is negative, it becomes positive, and if it is positive, it stays the same.

Examples

View on GitHub

Syntax

Java

.absOf(x)
.absOf(x)

Parameters

Name Data Type Description
x int a value

Return

int

absOf()

Teilbare URL erstellen

Abschnitte auswählen