コード例 #1
0
 public static double ToQuantum(this Percentage self) => Quantum.Max * (self.ToDouble() / 100);
コード例 #2
0
 public static QuantumType ToQuantumType(this Percentage self) => (QuantumType)(Quantum.Max * (self.ToDouble() / 100));
コード例 #3
0
 public static double ToQuantum(Percentage percentage)
 => Quantum.Max * (percentage.ToDouble() / 100);