[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16293: 24.3.50; doc of `string-to-number'
From: |
Drew Adams |
Subject: |
bug#16293: 24.3.50; doc of `string-to-number' |
Date: |
Sun, 29 Dec 2013 15:07:49 -0800 (PST) |
> > Say what happens if STRING cannot successfully be parsed as a number:
> > the function raises an error.
>
> When would it give an error, rather than 0?
If it never raises an error, then say explicitly that for any
string that cannot successfully be parsed as a number it returns 0.
(Cf. bug #16294, which was giving me the impression at first that
`string-to-number' was raising an error.)