Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

percentages

Name: Anonymous 2011-11-09 20:15

Help /prog/ I suck at maths.

I have a range of countries with associated percentages.

How can I base an if condition around that percentage so if I have Switzerland at 44%, there is a 44% chance of evaluating to Switzerland.

Name: Anonymous 2011-11-09 20:50

>>4
The algorithm is probably correct but that "test" is hardly reassuring. http://dilbert.com/fast/2001-10-25/

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List