Last active
August 29, 2015 14:14
-
-
Save rentalcustard/c532e99d83c6ad5621dd to your computer and use it in GitHub Desktop.
scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> 'a' % 87.788 | |
res0: Double = 9.212000000000003 | |
scala> 'a' > 96 | |
res1: Boolean = true | |
scala> 'a' - 97 | |
res2: Int = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is Java, not Scala. For instance:
If you run it you get the same:
$ java Test 9.212000000000003 true