ChensHelpers
Chen.Helpers.MathHelpers.Percent
Percent.ToPercent(float, uint) Method
Converts the number into a string with control of the precision.
public static string ToPercent(this float number, uint precision);
Parameters
number
System.Single
Number to modify
precision
System.UInt32
Precision to be followed
Returns
System.String
Formatted string of the number