Join Slack
and on the math side, absolutevalue is a property of Double, pow is a method of Double, and sqrt is...
# getting-started
j
Jonathan Ellis
05/24/2022, 7:08 PM
and on the math side, absolutevalue is a property of Double, pow is a method of Double, and sqrt is a standalone function in the math package
e
ephemient
05/24/2022, 7:10 PM
there's a standalone
abs()
function as well, and it does seem like there isn't a need for both, but 🤷
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by