Overview
| Artifact ID: | 60bd7205916a925c7e738f75c6a0e29ecd67fa7d |
|---|---|
| Ticket: | 218071ffffffffffffffffffffffffffffffffff
decimal seperator is not supported properly |
| User & Date: | nobody on 2000-10-26 00:52:51 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1596 Bug Version: 8.0.5 SubmitDate: '1999-03-22' LastModified: '1999-04-16' Severity: MED Status: Closed Submitter: pat ChangedBy: stanton OS: Windows NT Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-04-16' Name: Peter Nachbar CVS: 3/22/1999 15:00 MEZ ReproducibleScript: within "C": setlocale( LC_ALL, "German"); // invoke within external dll, which is afterwards loaded in wish80.exe within wish80.exe: % load d:/src/dll/relwhtig/tclsegm80.dll % expr 2.0 syntax error in expression "2.0" % expr 2,0 syntax error in expression "2,0" % expr sin(1) 0,841470984808.0 ObservedBehavior: A floating point number cannot be entered anymore. A floating point number is formatted improperly. DesiredBehavior: Disreagarding the local setting a floating point should be entered with a ".". At least this has to be true for file which are source byte-compiled or not. Patch: The tcl-extension function PagerSetLocale contains the following code: setlocale( LC_NUMERIC, argv[1]); % PagerGetLocale German_Germany.1252 % PagerSetLocale English English_United States.1252 % expr 2.0 2.0 % expr sin(1) 0.841470984808 PatchFiles: ?? The locale must be "C" for Tcl to work properly. 04/16/1999 14:41 - stanton - - foundin changed to: "final: 8.0.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "decimal seperator is not supported properly"
- type changed to: "Bug"