Re: [BLACKBOX] Regional numbers (was 1.6 final)

From: [at]} <Chris>
Date: Wed, 8 Jul 2009 09:31:31 +0930

----boundary-LibPST-iamunique-378152795_-_-
Content-type: text/plain

>-----Original Message-----
>From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
>Rex Couture
>Sent: Wednesday, 8 July 2009 2:15 AM
>To: BLACKBOX{([at]})nowhere.xy
>Subject: Re: [BLACKBOX] Regional numbers (was 1.6 final)
>
>At 02:23 AM 7/7/2009, Robert Campbell wrote:
>>>> > At 03:45 AM 7/4/2009, Detlef.Jankowiak-Evers wrote:
>>>> >>Dear Marc, dear All,
>>>> >>
>>>> >>one thing I'm missing all the time is to be able to type
>>>> in numbers in
>>>> >>german style (, as decimal point ).
>>
>>
>>Are you concerned only about the user GUI on forms, or also
>about ascii

>>in Texts and Files?
>
> Indeed, a comma is usually a separator in text and
>files. I suspect it becomes a problem if you use it as a
>decimal point.
>

If you are referring to the use of a comma in comma-separated-value (CSV)
formatted files then it is not an issue. The usual solution is to use quotes
to distinguish between the data fields and the comma separators

e.g. "1.120,0", "1.130,1", "1.140,2"

using the German formatting style.

One non-German style format often used already has a comma as a 'thousands'
separator anyway:

 1,120.0
 1,130.1
 1,140.2

Also, this is no different to the problem that occurs if you are using a CSV
file which has string data which includes commas:

e.g. "10, Downing Street", "221b, Baker Street", "23, Osborne Drive"

However, you then have to deal with embedded quotes in strings. For this
reason I prefer to use tab-separated-value (TSV) files when using text files
to represent tables of data.

Regards,
Chris Burrows

CFB Software
Armaide v2.0: ARM Oberon-07 Development System
http://www.cfbsoftware.com/armaide


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-378152795_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBc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MgaXMgbm8gZGlmZmVyZW50IHRvIHRoZSBw
cm9ibGVtIHRoYXQgb2NjdXJzIGlmIHlvdSBhcmUgdXNpbmcgYSBDU1ZccGFyDQpmaWxlIHdoaWNo
IGhhcyBzdHJpbmcgZGF0YSB3aGljaCBpbmNsdWRlcyBjb21tYXM6XHBhcg0KXHBhcg0KZS5nLiAi
MTAsIERvd25pbmcgU3RyZWV0IiwgIjIyMWIsIEJha2VyIFN0cmVldCIsICIyMywgT3Nib3JuZSBE
cml2ZSJccGFyDQpccGFyDQpIb3dldmVyLCB5b3UgdGhlbiBoYXZlIHRvIGRlYWwgd2l0aCBlbWJl
ZGRlZCBxdW90ZXMgaW4gc3RyaW5ncy4gRm9yIHRoaXNccGFyDQpyZWFzb24gSSBwcmVmZXIgdG8g
dXNlIHRhYi1zZXBhcmF0ZWQtdmFsdWUgKFRTVikgZmlsZXMgd2hlbiB1c2luZyB0ZXh0IGZpbGVz
XHBhcg0KdG8gcmVwcmVzZW50IHRhYmxlcyBvZiBkYXRhLlxwYXINClxwYXINClJlZ2FyZHMsXHBh
cg0KQ2hyaXMgQnVycm93c1xwYXINClxwYXINCkNGQiBTb2Z0d2FyZVxwYXINCkFybWFpZGUgdjIu
MDogQVJNIE9iZXJvbi0wNyBEZXZlbG9wbWVudCBTeXN0ZW1ccGFyDQpodHRwOi8vd3d3LmNmYnNv
ZnR3YXJlLmNvbS9hcm1haWRlXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2Ny
aWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RT
RVJWQExJU1RTLk9CRVJPTi5DSFx9fQByZS4=
----boundary-LibPST-iamunique-378152795_-_---
Received on Wed Jul 08 2009 - 02:01:31 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:43 UTC