wie man einen absoluten Wert in Scala bekommt
// Scala program of Int abs()
// method
// Creating object
object GfG
{
// Main method
def main(args:Array[String])
{
// Applying abs method
val result = (-5).abs
// Displays output
println(result)
}
}
zakenobi