Daylight v4.9
Release Date: 1 February 2008


dt_real - retrieve the real value of a named property

Generic Prototype

dt_real(dt_Handle, dt_String name) => dt_Real

C Prototype

#include "dt_smiles.h"

dt_Real dt_real(dt_Handle object, dt_Integer nlen, dt_String pname)

FORTRAN Prototype

include ''

real*4 dt_f_real(object, pname)

integer*4 object
character*() pname


Gets the real value of a named property 'pname' for an object.

Return Value

Returns the real value for the named property for the object. If the named property is not of type DX_PROP_REAL (set with dt_setreal(3)), the property is defined as 0.

Related Topics

dt_proptype(3) dt_setreal(3)