Command: cvd_s

NEST HelpDesk Command Index NEST Quick Reference

Name:
 cvd_s - convert string to double

Synopsis:
 string cvd_s -> double

Description:
 This is a wrapper to the standard C "atof"-routine. 
If cvd_s is executed with a string that contains letters 0 is returned.

Examples:
 (23.5)  cvi_s -> 23.5
          (23)    cvi_s -> 23   % doubletype!
          (NEST)  cvi_s -> 0

Diagnostics:
 No errors are raised.
             In case of impossible conversion, zero is returned.

Bugs:
 -

Author:
 R Kupper

FirstVersion:
 Nov 05 1999

SeeAlso:cvi cvd cvs
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slidata.h

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative