.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEClearFormalCharges

.. oe:function:: OEClearFormalCharges

   .. oe:language:: c++ java csharp

      .. oe:api::

         void OEClearFormalCharges(OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEClearFormalCharges(mol: Union[OEGraphMol,OEMol,OEQMol]) -> None

   Clears the formal charge property of all atoms in a
   molecule, setting the formal charge on each atom of a molecule to
   ``0``.

