Message197873
| 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. |
|