Name: cvd - Convert integer/string to double

Synopsis:

integer cvd -&gt; double 
string cvd -&gt; double


Examples:

3 cvd -&gt; 3.0 
(23) cvd -&gt; 23.0 
(23.2323) cvd -&gt; 23.2323 
(hello) cvd -&gt; 0.0


Description:

If cvd is executed with an integer, the resulting 
double contains zeros after decimal point, if it is executed with a 
string that contains letters 0.0 is returned. If the string 
contains a double or integer, the corresponding double is returned. 
Alternatives: Function double (undocumented) -&gt; behaviour and 
synopsis are the same.


Diagnostics:

no errors are issued.


Author:

docu by Sirko Straube


SeeAlso:

cst
cv1d
cv2d
cva_d
cva_t
cvd_s
cvi
cvlit
cvn
cvs
cvt_a

Source:

/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/typeinit.sli
