Quoting Jason Switzer (jswit...@gmail.com):
> On Mon, Jan 23, 2012 at 7:29 AM, Rodolfo Gonzalez 
> <rgonzale...@yahoo.com>wrote:
> 
> > I have a question regarding the issue #81. Does anybody know the format
> > and the units of height in the imperial system? I guess the units are feet
> > and inches but what is the separator?
> >
> 
> See http://en.wikipedia.org/wiki/Imperial_units for a full description. We
> use "." for sub-unit division (i.e. 0.5 is half of 1) and "," for magnitude
> seperation (i.e. 1,000 is one thousand).


Separators should indeed be set by the current locale.

What's described above is true for en_US but might be wrong for other
locales (after all, what does prevent a French person to use imperial
units? Everybody is entitled to turn their brain sick..:-))

Not using the locale's settings is indeed a bug in pytrainer. When I
input a manual activity, I alway have to remember that I should enter
the distance as "NNN.nnn" while (as I use a French locale), I should
be able to use "NNN,nnn"



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to