On Mon, 2014-02-03 at 15:40 +0000, James Morris wrote:
You're welcome. I'd assume that most XML APIs would have the stuff you
need (or you can just change the locale temporarily, but this is
sketchy), which would be best, but if not, I've done a straight C
implementation of both directions you can steal if you like.
The former is just a portable strtod, the latter would need a bit of
tinkering to not return the result as a SerdNode. The latter is
designed to hack off useless strings of trailing zeros (i.e. be pretty
and terse), but can't do the scientific notation format.
Linux-audio-dev mailing list