Overloads
op_Implicit(System.Double)~DOM.MeasurementUnits.Percentage
Implicitly converts a to a . Double, Percentage
op_Implicit(System.Int32)~DOM.MeasurementUnits.Percentage
Implicitly converts an to a . Int32, Percentage
op_Implicit(System.Double)~DOM.MeasurementUnits.Percentage
Percentage op_Implicit(System.Double)~DOM.MeasurementUnits.PercentageImplicitly converts a to a . Double, Percentage
Parameters
- value
- Input percentage value to convert.
Remarks
The input value is clamped to the range to using . -10000 10000 ToRange(double,double,double)
op_Implicit(System.Int32)~DOM.MeasurementUnits.Percentage
Percentage op_Implicit(System.Int32)~DOM.MeasurementUnits.PercentageImplicitly converts an to a . Int32, Percentage
Parameters
- value
- Input percentage value to convert.
Remarks
The input value is clamped to the range to using . -10000 10000 ToRange(double,double,double)
Examples
op_Implicit(System.Double)~DOM.MeasurementUnits.Percentage
csharp
1Percentage p = 125.75;
2
op_Implicit(System.Int32)~DOM.MeasurementUnits.Percentage
csharp
1Percentage p = 80;
2