Re: Locale definitions, dots and commas
- From: wallace owen l-3com com
- To: Dave Howorth <dhoworth mrc-lmb cam ac uk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Locale definitions, dots and commas
- Date: Thu, 13 Mar 2008 09:07:47 -0700
On Thu, 2008-03-13 at 15:48 +0000, Dave Howorth wrote:
Martin (OpenGeoMap) wrote:
I am building an intermediate unit system for engineeres in Gobject and
i hope publish this library soon.
With this system you always work in lineal measures in meters (double),
and you can input others (inches, centimeters)
input system - intermediate system -out system
you can input in a entry for example (22m, 22 m, 220cm,...) and
internally you have a double always in meters.
How do you deal with precision? 22 m is not the same as 22.000 m
Bad example. 22 can be expressed exactly in 2s complement. 3 cannot.
Cheers, Dave
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Wallace Owen L-3Com com
Office: 619.278.2084
Cell: 619.990.2286
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]