Skip to content
Tcl Source Code Artifact [5a699eef7a]
Login

Artifact [5a699eef7a]

Artifact 5a699eef7a44f5c9b883aca01932810e550faa8d:

Ticket change [5a699eef7a] - New ticket [2002328fffffffff|2002328fff] <i>format cmd differs from ANSI sprintf in rounding</i>. by nobody on 2008-06-25 09:31:29.
D 2008-06-25T09:31:29
J assignee davidw
J cmimetype text/plain
J comment The\smanual\spage\sfor\sthe\sformat\scommand\slists\sthe\sdifferences\sfrom\sthe\sANSI\ssprintf\sfunction:\nhttp://www.tcl.tk/man/tcl/TclCmd/format.htm#M22\n\nThis\slist\sdoesn't\stell\sthat\sthe\sTcl\sformat\scommand\sdoes\srounding,\swhich\sis\squite\sa\sdifference:\n[format\s"%.0f"\s1.9]\sreturns\s"2",\swhile\nsprintf("%.0f",\s1.9)\sreturns\s"1".
J foundin obsolete:\s8.4.19
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 75.\sTutorial
J title format\scmd\sdiffers\sfrom\sANSI\ssprintf\sin\srounding
J type Bug
K 2002328fffffffffffffffffffffffffffffffff
U nobody
Z f545c87759b52604d441a10bda1e25ea