Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-01-07
18:47 • New ticket [1866078fff] "dp" optional parameter for round. artifact: be3859dd9d user: zbigniew_b

"dp" optional parameter for round

Open1866078fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-01-07 18:47:56
As I wrote on comp.lang.tcl already, I'm deeply convinced, that such essential mathematical function in its current state (limited to integers as result), can be described just as "incomplete".

I would to suggest a change from:

  ::tcl::mathfunc::round arg

to:

  ::tcl::mathfunc::round arg ?arg?

...where optional ?arg? could be used to set the amount of decimal places wanted.
Log in (anonymous is fine) to add a comment.