Tk Library Source Code

View Ticket
Login
Ticket UUID: 1566437
Title: units-10.1 fails with Tcl 8.5
Type: Bug Version: None
Submitter: dgp Created on: 2006-09-27 16:05:54
Subsystem: units Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-09-28 04:24:47
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2006-09-27 21:24:47
Description:
Testing units-2.1 (tcllib-1.9-rc1):

==== units-10.1 leading zero is not octal FAILED
==== Contents of test case:

    ::units::convert 09mm meter

---- Result was:
0.009000000000000001
---- Result should have been (exact matching):
0.009
==== units-10.1 FAILED
User Comments: andreas_kupries added on 2006-09-28 04:24:46:
Logged In: YES 
user_id=75003

Used [format] to get a deterministic precision of the result
across versions. Committed to head.