extracting percentage of an integer c# code example Example: get percentage c# (current / maximum).ToString("0.00%");