Daylight v4.9
Release Date: 1 February 2008


dt_number - retrieve the atomic number of an atom object

Generic Prototype

dt_number(dt_Handle) => dt_Integer

C Prototype

#include "dt_smiles.h"

dt_Integer dt_number(dt_Handle atom)

FORTRAN Prototype

include ''

integer*4 dt_f_number(atom)

integer*4 atom


Finds the atomic number for the given atom.

Return Value

Returns the atomic number of the atom. For all other objects, this property is defined as -1.

Related Topics

dt_addatom(3) dt_setnumber(3)