Namtira: Percentage class
|
By: Paul S Cilwa |
Posted: 4/10/2026 |
|
Page Views: 15 |
| Hashtags: #Namtira #NamtiraExplorer #VBNET #Percentageclass #ObjectOrientedProgramming |
| A general purpose class for easily calculating percentages and values without bothering with all that math stuff. |
| Estimated reading time: 3 minute(s) (495 words) |
I have dyslexia, and as a partial consequence I can never get the equation for calculating
percentages right on the first try. Which side does the 100 go on, and is it divide or
multiply? And so, for me at least, it makes sense to get it right once...in a reusable
function (or, better yet, object) that I can reference by name when needed? And thus is born the
Percentage class.