Apache OpenOffice (AOO) Bugzilla – Issue 57868
Suggestion for locale-casting functions
Last modified: 2013-08-07 15:12:27 UTC
There have been many remarks and suggestions about the problem of, for example, opening a UK style CSV file in a german-locale installation, or reading swiss number strings in a US spreadsheet. Much has been made of locale spotting or conversion or selection in the CSV import phase, and this is very important. But I want to suggest another enhancement that would also help with cut-and-paste. Why not impliment spreadsheet functions to cast number strings from one locale to another? The obvious conversion from ',' to '.' may not be enough, and the whole locale structure should be involved. How about =cast(from-locale;to-locale;string) as a function definition?
One for the requirements team.
Following on from issue 53498, that method of numerical representation should also be available with locale casting functions. Someone writing a presentation on a south african machine, could illustrate Indian numbers in his calculation with such functions.