Percentage
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.
Public Shared Function Percent(ByVal complete As Single, ByVal total As Single, ByVal maxPercentage As Single) As Single
Return (complete / total) * maxPercentage
End Function






Regards,
Kumar S
GuyFromChennai.com