Sven Hilscher a écrit:
writeln ( abs ( -12.1 : 0 : 1 ) ); (* 12.1 *);
^^^^^^^^^^^ I think, something is goin wrong...
No no, at least in BP, the actual length is adjusted upwards to contain what needs to be written if the specified length is too short. So with a specified length of 0 it adjusts in any case to the minimum length necessary to accomodate the number with the specified number of decimals. Bizarre but very handy in fact.