materials_compendium.utils.ElementInfo.get_atomic_mass_whole

ElementInfo.get_atomic_mass_whole()[source]

Get the whole number atomic mass associated with the element.

Returns:

The whole number atomic mass.

Return type:

float

Example

print(element_info.get_atomic_mass_whole()) # Output: 12.0