In article <
9b9a39ca-c838-4d84...@googlegroups.com>,
Laurent Marc <
scr...@gmail.com> wrote:
>
>Yup, that looks like an error message all right. Do you have a question?
>
>of course: how to get around this error ?
>
>
Well, there are 3 possible ways to go about answering your question.
1) Can I actually make it work - that is, actually do the right thing
with my data? The answer to this seems to be "no". It is what it
is.
2) Can I fix my data so that the warning goes away? Yes. Either with
a text editor (on the data file) or by fixing the program so that
it truncates it to something reasonable before converting the
string to a number. Details left as an exercise for the OP...
3) Can I inhibit (hide) the warning message? Yes, set the internal
variables "WARNINGS" to 0 (or read the manual to learn the other
possible values). Observe:
C:>awkw '{print $0+0}' OFMT=%.30g WARNINGS=0 -
tawk input? 2
2
tawk input? 12.1234567890123456789
12.123456789012346
tawk input?
--
"This ain't my first time at the rodeo"
is a line from the movie, Mommie Dearest, said by Joan Crawford at a board meeting.