in reply to please explain print/say behavior with setlocale

I don't exactly understand your problem. You activate German locale, so "," is used instead of "." when outputting fractional values. This is exactly how locales are intended to be. What kind of output would you have expected?

-- 
Ronald Fischer <ynnor@mm.st>

Replies are listed 'Best First'.
Re^2: please explain print/say behavior with setlocale
by wwe (Friar) on Mar 30, 2010 at 11:47 UTC
    My problem is the "." which is used sometimes e.g. say 1/2 . " concatenate" produces "0.5 concatenate" and not "0,5 concatenate". I would expect to see the second one as it correctly displayed using say 1/2 , " concatenate".