pwtools.constants.Ha_to_eV

pwtools.constants.Ha_to_eV = 27.21138386

Convert a string or number to a floating point number, if possible.