This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients BreamoreBoy, asvetlov, gpolo, hans.bering, kbk, r.david.murray, serhiy.storchaka, terry.reedy
Date 2013-09-16.07:02:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379314923.07.0.245972898817.issue12558@psf.upfronthosting.co.za>
In-reply-to
Content
> I am presuming that tk truncates fractional parts as int() does; if not, use round().

Tk uses both truncated and rounded value.

$ rlwrap wish
% canvas .c
.c
% .c configure -width 10.1
% .c configure -width
-width width Width 10c 10
% .c configure -width 10.9
% .c configure -width
-width width Width 10c 11

As you can see 10.9 gives both 10c and 11.
History
Date User Action Args
2013-09-16 07:02:03serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, kbk, gpolo, r.david.murray, asvetlov, hans.bering, BreamoreBoy
2013-09-16 07:02:03serhiy.storchakasetmessageid: <1379314923.07.0.245972898817.issue12558@psf.upfronthosting.co.za>
2013-09-16 07:02:03serhiy.storchakalinkissue12558 messages
2013-09-16 07:02:02serhiy.storchakacreate