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:[email protected]] Sent: Sunday, July 29, 2012 07:19 To: [email protected]; [email protected] 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: [email protected] For additional commands, e-mail: [email protected]
