|
2001-04-20
| ||
| 04:12 | • Ticket [218071ffff] decimal seperator is not supported properly status still... artifact: a8ad2d2a99 user: dgp | |
|
2000-10-26
| ||
| 08:13 | • Closed ticket [218071ffff]. artifact: 5752e747e5 user: welch | |
| 00:52 | • New ticket [218071ffff]. artifact: 60bd720591 user: nobody | |
decimal seperator is not supported properly
Closed / Fixed218071ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:51
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 -
welch Closed ticket [218071ffff].
[History diff]2000-10-26 08:13:45
dgp Ticket [218071ffff]: 3 changes
[History diff]2001-04-20 04:12:28
Log in (anonymous is fine) to add a comment.