#3579 closed enhancement (fixed)
Use comma as decimal seperator
Reported by: | Owned by: | Russ Tyndall | |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Hi,
if I use a "," as decimal seperator which is the standard decimal seperator in germany i get this error:
hours changed from NaNh to NaNh.
Is it possible to implement local specific seperators for float values?
Thx,
Alex
Attachments (0)
Change History (13)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Unfortunatly all of the numbers are still going to print with '.' characters (at least right now). Thats alot of work to fix that one right now.
comment:3 Changed 16 years ago by
comment:4 Changed 16 years ago by
comment:5 Changed 16 years ago by
Hi bobbysmith007,
thx for the quick response and the fix!! I've upgraded to 0.6.8 and it works if i put values in "Add Hours to Ticket"-field but if i do the same with "Estimated Number of Hours"-field. I get: "Estimated Number of Hours: NaNh"
Thx,
Alex
comment:6 Changed 16 years ago by
doh... Sorry I didnt even think of that because I dont ever interact with the estimated hours field from python.
I will try to have a similar patch up for you soon that handles estimated hours.
comment:7 Changed 16 years ago by
comment:8 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:9 Changed 16 years ago by
damn you are using trac 10. I will upload a new trac 10 version after lunch
um... I am just using python's builtin float() function which converts strings to floats.
I can probably preprocess the string though. I will try to get to this soon.
Russ