Skip to content

Instantly share code, notes, and snippets.

@jarmo
Created October 16, 2010 15:56
Show Gist options
  • Select an option

  • Save jarmo/629945 to your computer and use it in GitHub Desktop.

Select an option

Save jarmo/629945 to your computer and use it in GitHub Desktop.
object Main {
def main(args: Array[String]) {
var a = 1.2;
var b = 1.0;
var c = 0.2;
System.out.println(a - b == c);
System.out.println(a * 10 - b * 10 == c * 10);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment