Skip to content

Instantly share code, notes, and snippets.

@rrgroovy
Created October 9, 2011 10:02
Show Gist options
  • Save rrgroovy/1273517 to your computer and use it in GitHub Desktop.
Save rrgroovy/1273517 to your computer and use it in GitHub Desktop.
絶対値を求める
assert 100 == Math.abs(100)
assert 100 == Math.abs(-100)
assert 0 == Math.abs(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment