abs()
👉 replit
abs(-5), // 5
abs(-3.45), // 3.45
abs(Int.min) // ❌ overflow
Last updated
Was this helpful?
👉 replit
abs(-5), // 5
abs(-3.45), // 3.45
abs(Int.min) // ❌ overflow
Last updated
Was this helpful?