Skip to content

Instantly share code, notes, and snippets.

@duckinator
Created March 2, 2014 05:47
Show Gist options
  • Save duckinator/9302508 to your computer and use it in GitHub Desktop.
Save duckinator/9302508 to your computer and use it in GitHub Desktop.
Because, floats.
>> 0.1 + 0.2
=> 0.30000000000000004
>> 0.1 + 0.2 + 0.1
=> 0.4
>> 0.1 + 0.2 + 0.1 + 0.2
=> 0.6000000000000001
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment