Script-Fu Prints floating numbers with a comma instead of a point and adds '.0'
Submitted by nie..@..il.com
Link to original bug (#778308)
Description
The output of script-fu (whether through the console or with gimp -c --batch-interpreter=plug-in-script-fu-eval -b - ) of floating values is strange and is not accepted as such again by script-fu itself:
The decimal point gets replaced with a comma, and then a period and 0 get appended.
Example output
ts> (- 0.5 0.1) 0,4.0
(expected: 0.4)
ts> 34.5 34,5.0
(expected: 34.5)
ts> '(0.4 0.4) (0,4.0 0,4.0)
(expected: (0.4 0.4)
I tried this with an 'unwrapped' tinyscheme (1.41), and got normal output.
Version: gimp-2-8