Somethink broke minimum function

2022-10-10 Thread Martin Michel
Hi Jürgen, I guess this is a regression defect. It was working correctly at SVN 1574 but at some commit up to SVN 1592 something broke. Now, when I run this to get the minimum of an array with some numbers, I get: ⌊⌿0.123 0.456 0.789 0 Apparently, maximum works fine: ⌈⌿0.123 0.456

printf issue with thousands separator

2022-07-04 Thread Martin Michel
Hi there, I want to print a table which also includes some financal figures. Here I need to group with a thousands separator. My first attempts using the "Format by example" method failed due to limitations of it. That's why I fell back to the ⎕FIO system interface, trying the same with `printf`.

Re: printf issue with thousands separator

2022-07-05 Thread Martin Michel
Hi Jürgen, thanks for your quick reply. > I will look into adding support for the thousands separator (but not > supporting the > locales nonsense). That is, the thousands separator will always be comma and > not > e.g. full-stop like in some countries and comma in others. That would be great

Re: printf issue with thousands separator

2022-07-05 Thread Martin Michel
Hi Jürgen, > I believe I understood your problem now. As far as ⎕FIO is concerned it > should be fixed > in SVN 1579: Many thanks, it's very impressive how fast you have implemented this change! > There could be a misunderstanding as to how 'Format by example' works (and > that misunderstandi

Format by Specification - one digit after the decimal returns incorrect result

2022-09-27 Thread Martin Michel
Hi all, I observe a strange behavior when using the format operator for displaying numbers with one digit after the decimal. Here is my case: 0 1⍕ ¯9.4962 ¯9.9863 ¯10.4764 ¯9.5 ¯.0 ¯10.5 Why is the second item not printed as ¯10.0 ? Have I misunderstood the Format by Specification operator or