Re: Should %d round?

new topic     » goto parent     » topic index » view thread      » older message » newer message
AJ_Oxley said...

I would leave it as it is and state clearly in the manual that the %d argument using an atom will print only the integer part.
If it needs to be rounded, round it :)

Sounds fine to me too :) But highlight it perhaps, or add it to the common (possible?) mistakes section.

There is big pot-hole in the street where I live. It is surrounded by nice looking red pyramids, requiring everybody to drive round it. It has been there for about 3 month. I called the city, and they have acknowledged that it is a "mistake" that it has not been repaired. As I drive home at night I can't help praying that they have moved it out of the mistake section and now have it in the "pending work" section.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu