public static ElectricPotentialAc MegavoltsAc <T>(this T value) => ElectricPotentialAc.FromMegavoltsAc(Convert.ToDecimal(value));
/// <inheritdoc cref="ElectricPotentialAc.FromMegavoltsAc(UnitsNet.QuantityValue)" /> public static ElectricPotentialAc?MegavoltsAc(this double?value) => ElectricPotentialAc.FromMegavoltsAc(value);
/// <inheritdoc cref="ElectricPotentialAc.FromMegavoltsAc(UnitsNet.QuantityValue)" /> public static ElectricPotentialAc?MegavoltsAc(this decimal?value) => ElectricPotentialAc.FromMegavoltsAc(value == null ? (double?)null : Convert.ToDouble(value.Value));
/// <inheritdoc cref="ElectricPotentialAc.FromMegavoltsAc(UnitsNet.QuantityValue)" /> public static ElectricPotentialAc MegavoltsAc(this long value) => ElectricPotentialAc.FromMegavoltsAc(value);
/// <inheritdoc cref="ElectricPotentialAc.FromMegavoltsAc(UnitsNet.QuantityValue)" /> public static ElectricPotentialAc MegavoltsAc(this decimal value) => ElectricPotentialAc.FromMegavoltsAc(Convert.ToDouble(value));