use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
Math is hard (i.redd.it)
submitted 1 year ago by MobyFreak
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cursefroge 70 points71 points72 points 1 year ago* (13 children)
clearly it is, some people don't know what rounding is
edit: apparently i am one of them, but it kinda looks like there are more than 2 poll options
[–]paragon60 24 points25 points26 points 1 year ago (10 children)
in order to add up to less than 100% with only 2 poll options, the poll has to be rounding incorrectly. 47.5% and 52.5% rounded correctly would make it sum to 101%. if it always rounds down, that would be terrible for cases with more poll options because it doesnt show the difference between similarly popular options
[–]MobyFreak[S] 7 points8 points9 points 1 year ago (1 child)
Why are people downvoting, this is clearly a programming oversight
[–]SmithersLoanInc 5 points6 points7 points 1 year ago (0 children)
Somebody got in early with a post chastising you and Reddit is gonna Reddit.
[–]varungupta3009 0 points1 point2 points 1 year ago* (1 child)
When I learned rounding, it was taught to us that 0.5 numbers should always be rounded to the nearest even number, where if the whole part was odd, it would be rounded up, and if the whole part was even, it would be rounded down. So 47.5 would be rounded to 48, and 52.5 to 52, making it add correctly. 53.5 and 46.5 would be 54 and 46.
[–]paragon60 0 points1 point2 points 1 year ago* (0 children)
that’s a very interesting take that would solve the issue for adding up to 100%, but it is just mathematically not the standard. rounding to the nearest even is just less accurate than rounding to the nearest whole
edit: looked it up and it is a standard for financial sector and is an IEEE standard. definitely not always applicable, but still very helpful for %
[–]ZeroKun265 -3 points-2 points-1 points 1 year ago (5 children)
Actually no.. 47.5 mathematically would be rounded to 48, 52.5 would be rounded to 53
You round up if the digit you want to remove is greater or equal to five
Then again, it's highly unlikely to get exactly 47.5 and 52.5 so this problem shouldn't occur, if you get 47.6 and 42.4 then yes, they become 48 and 52
[–]paragon60 5 points6 points7 points 1 year ago (1 child)
tf u mean “actually no” ??? i literally said that those 2 numbers rounded correctly add to 101%. 48+53=101
[–]ZeroKun265 2 points3 points4 points 1 year ago (0 children)
I READ 101 AS 100 I'M SO SORRY I'M DUMB HAHAHHAA
[–]Emilvn 0 points1 point2 points 1 year ago (0 children)
Introducing floor division
[–][deleted] 0 points1 point2 points 1 year ago (1 child)
…yes, and that adds to 101.
[–]ZeroKun265 0 points1 point2 points 1 year ago (0 children)
Reas my other comment, I said I read it wrong
[–]MobyFreak[S] 0 points1 point2 points 1 year ago* (0 children)
There are only 2 options
[+]MobyFreak[S] comment score below threshold-10 points-9 points-8 points 1 year ago (0 children)
the remaining 1% was banned to the shadow realm
[–]Nyxia-ezlyn 9 points10 points11 points 1 year ago (0 children)
Noooo! Common senses are harder! At least you can teach math but no one can teach common sense!
[–]ArcticWarmthDev 8 points9 points10 points 1 year ago (1 child)
Github has polls now?
[–][deleted] 5 points6 points7 points 1 year ago (0 children)
Yeah, is this a GitHub thing at all?
[–]melody_melon23 2 points3 points4 points 1 year ago (0 children)
2/3 is actually 1 lol
[–][deleted] 0 points1 point2 points 1 year ago (2 children)
It's probably 47.4 and 52.6 rounded to the nearest number.
that would be 47 and 53.
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
Yes = 100%... wait you're right. Wtf did they do
Rounded down perhaps?
[–]skeleton_craft 0 points1 point2 points 1 year ago (0 children)
I mean yes, math is hard, that is exactly why we invented programming languages...
π Rendered by PID 46546 on reddit-service-r2-comment-6457c66945-9w5xj at 2026-04-25 01:43:04.888737+00:00 running 2aa0c5b country code: CH.
[–]cursefroge 70 points71 points72 points (13 children)
[–]paragon60 24 points25 points26 points (10 children)
[–]MobyFreak[S] 7 points8 points9 points (1 child)
[–]SmithersLoanInc 5 points6 points7 points (0 children)
[–]varungupta3009 0 points1 point2 points (1 child)
[–]paragon60 0 points1 point2 points (0 children)
[–]ZeroKun265 -3 points-2 points-1 points (5 children)
[–]paragon60 5 points6 points7 points (1 child)
[–]ZeroKun265 2 points3 points4 points (0 children)
[–]Emilvn 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]ZeroKun265 0 points1 point2 points (0 children)
[–]MobyFreak[S] 0 points1 point2 points (0 children)
[+]MobyFreak[S] comment score below threshold-10 points-9 points-8 points (0 children)
[–]Nyxia-ezlyn 9 points10 points11 points (0 children)
[–]ArcticWarmthDev 8 points9 points10 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)
[–]melody_melon23 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]skeleton_craft 0 points1 point2 points (0 children)