Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save jarmo/629942 to your computer and use it in GitHub Desktop.
-module(prog).
-export([main/0]).
main() ->
A = 1.2,
B = 1.0,
C = 0.2,
io:fwrite(A - B == C),
io:fwrite("\n"),
io:fwrite(A * 10 - B * 10 == C * 10).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment