Method FromDecimal
FromDecimal(float)
Converts a decimal value (0.0 to 1.0) to a percentage.
Declaration
public static Percentage FromDecimal(float decimalValue)
Parameters
Type | Name | Description |
---|---|---|
float | decimalValue |
Returns
Type | Description |
---|---|
Percentage |
FromDecimal(double)
Converts a decimal value (0.0 to 1.0) to a percentage.
Declaration
public static Percentage FromDecimal(double decimalValue)
Parameters
Type | Name | Description |
---|---|---|
double | decimalValue |
Returns
Type | Description |
---|---|
Percentage |