4
Utsawin
Go easy on me, my first snippet - plus I am new to VB.NET 2.0... with only basic knowledge of classic VB... Just want to mention that the Permutations function is not actually mine - found it online... (credit where credit's due)
Fairly simple stuff, but had me pulling my hair out - Even Excel has a COMBI function out of the box!
Fairly simple stuff, but had me pulling my hair out - Even Excel has a COMBI function out of the box!
5
A while back ago I wrote this in a simple program I wrote.
Unfortunately, it only reduces proper fractions. If someone wants to rewrite it and make it work with inproper fractions that would be awesome!
Unfortunately, it only reduces proper fractions. If someone wants to rewrite it and make it work with inproper fractions that would be awesome!
5
Returns a percentage. There are 3 arguments.
1. complete - How much is done?
2. total - How much is there?
3. maxPercentage - Total percentage possible, usually 100.
Simple, yep.
1. complete - How much is done?
2. total - How much is there?
3. maxPercentage - Total percentage possible, usually 100.
Simple, yep.
3
A simple, flexible formula for generating diminishing returns out of input numbers. Full explanation and home, with sample calculators and versions of the code in other languages, on the Lost Souls MUD Grimoire.









