Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 256e0b1bb5ae7105c6f7ea01e95c64d0f5a862cf
Ticket: 1497990fffffffffffffffffffffffffffffffff
expr sqrt(2) returns 1,41421356237.0 after loading and using
User & Date: dkf on 2006-05-31 15:01:28
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    The problem is that some drivers insist on setting the
    locale. Thanks a bunch, Oracle. (Same problem occurs with
    some HP printer drivers IIRC.)
    
    I believe this is fixed in 8.5 (by no longer using sprintf()
    to format numbers) and I believe the workaround for 8.4 is
    to reset the locale after loading the database drivers. I
    can't quite remember if that can be done at the Tcl level on
    Windows, or if it needs a little C code. :-(
    
    Leaving open for area maintainer (well, someone more
    knowledgable than me) to comment.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. subsystem changed to: "10. Objects"
  5. username: "dkf"