octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printf integer format compatibility


From: John W. Eaton
Subject: Re: printf integer format compatibility
Date: Wed, 16 Apr 2014 20:17:41 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9

On 04/16/2014 05:54 PM, Michael D. Godfrey wrote:

I found the problem; there are cases where previously an integer value was
printed, now the value, for example, is 35.5.  I will check on what
conversion
I was using in that case and decide how to fix it.

I think it is using '%d' but the value that is being printed is not an integer. So previously it was truncated. Now it displays a decimal fraction.

Are you sure that the change you made is what I intend to stick with?

Yes, I intend to keep this for compatibility reasons.

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]