Temporarily set the locale to C when using ftoa, or the resulting string is subject to the locale and gets unexpected symbols (e.g. commas for the decimal dots while the function expects periods)

(0) -30 -10 -1 +1 +10 +30 +100 +300 +1000 tip

mercurial