Function joules_to_electron_volts
pub fn joules_to_electron_volts(joules: f64) -> Option<f64>Expand description
Converts joules to electron volts using eV = J / e.
Returns None when joules is negative, when the input is not finite, or when the computed
result is not finite.