NEST HelpDesk | Command Index | NEST Quick Reference |
cvd_s - convert string to doubleSynopsis:
string cvd_s -> doubleExamples:
(23.5) cvi_s -> 23.5Description:
(23) cvi_s -> 23 % doubletype!
(NEST) cvi_s -> 0
This is a wrapper to the standard C "atof"-routine.Bugs:
If cvd_s is executed with a string that contains letters 0 is returned.
-Diagnostics:
No errors are raised.Author:
In case of impossible conversion, zero is returned.
R KupperFirstVersion:
Nov 05 1999SeeAlso: Source:
/builddir/build/BUILD/nest-simulator-2.14.0/sli/slidata.h
NEST HelpDesk | Command Index | NEST Quick Reference |
© 2004 The NEST Initiative