i have some understanding problems, with the percent calculation in c#
Why is this working.
100 * usedDiskSpace/maxDiskSpace
and this not...
((usedDiskSpace/maxDiskSpace)*100)
I didn't get it.
Why ?
for better explanation. I try to calculate the percentage of a harddisk volume. I programmed in other languages like Actionscript or php, or JAVA. I do not understand, why the result of the lower calculation will result a 0 value.