incubator-ooo-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis E. Hamilton" <dennis.hamil...@acm.org>
Subject RE: [DISCUSS][CALC] String content to numeric value
Date Sun, 29 Jul 2012 17:42:06 GMT
Ha!  I remember that.

Do you think there is room in the places where conversions have been left implementation-dependent/-defined
to be strict about not defaulting but recommending explicit conversion by users?  That is,
do strong typing but provide ways for users to specify casting of values?

 - Dennis

-----Original Message-----
From: Eike Rathke [mailto:ooo@erack.de] 
Sent: Sunday, July 29, 2012 07:19
To: ooo-dev@incubator.apache.org; ooo-users@incubator.apache.org
Subject: Re: [DISCUSS][CALC] String content to numeric value

Hi Lei,

On Friday, 2012-07-27 13:32:54 +0800, Lei Wang wrote:

> In my point of view it is better to support more scenarioes to convert a
> text value to a number, such as decimal. Though different locale has
> different decimal separator, AOO can support decimal separator for current
> locale and standard decimal separator, ".". It will be more complicated for
> date format.
> 
> What's your suggestion?

That reminds me of a famous quote I even had as my .signature on the
OASIS ODF TC lists:

| Automatic string conversions considered dangerous. They are the GOTO statements
| of spreadsheets.  --Robert Weir on the OpenDocument formula subcommittee's list.

Nothing more to say.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


Mime
View raw message