ChensHelpers
Chen.Helpers.MathHelpers
Percent Class
Extensions related to percentages of numbers.
public static class Percent
Inheritance System.Object 🡒 Percent
Methods | |
---|---|
ToDecimal(float) | Converts the percentage into its decimal value. |
ToDecimal(float, uint) | Converts the percentage into a string with control of the precision. |
ToPercent(float) | Converts the number into its percentage value. |
ToPercent(float, uint) | Converts the number into a string with control of the precision. |