Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: ransomnote; grey_whiskers
So use a percentage but avoid rounding error by using a floating point.

Exactly correct. Votes are INTEGERS. You can get percentages from integers, but you can't get (all) integers from percentages. The system seems to have functionality to cap a percentage for a certain candidate.

1,341 posted on 11/13/2020 8:21:11 AM PST by numberonepal
[ Post Reply | Private Reply | To 1307 | View Replies ]


To: numberonepal

I agree it should NOT be that way but it is ... in prior experience designing + building such things we first encountered this issue very early and thus made all our data types LONGs to eliminate even the possibility someone auditing the systems software might even think it was possible to be maintaining partial numbers. I’m having a mental flashback of somebody saying something exactly like you’re saying ala you can’t have partial votes lol. LONGs were needed because ultimately you needed to store in a LONG so that can became a base type and it permeated everything after that.


1,352 posted on 11/13/2020 8:56:19 AM PST by Steven W.
[ Post Reply | Private Reply | To 1341 | View Replies ]

To: numberonepal
OUTRAGEOUS! Facebook Spits in America’s Face — Removes “President” From Donald Trump’s Page and Posts “Political Candidate”

By Jim Hoft Published November 13, 2020 at 3:23pm

This is what Facebook thinks of the more than 73,000,000 Americans who voted for President Donald Trump last week in his historic election.

Facebook switched President Trump’s title from “President” to “Political Candidate.”


1,561 posted on 11/13/2020 1:25:27 PM PST by bitt (The left gave us 4 years of Pearl Harbor. Now its time to give them Hiroshima.)
[ Post Reply | Private Reply | To 1341 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson