Issue 62230 - Basic function CCur doesn't respect local settings
Summary: Basic function CCur doesn't respect local settings
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 22:01 UTC by Regina Henschel
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2006-02-17 22:01:16 UTC
I use German OOo202rc1 on German XP, with local settings to German(German). In
Online-Help for CCur (/text/sbasic/shared/03100050.xhp) you find the text "The
locale settings are used for decimal separators and currency symbols."
(par_idN10545). But try this macro

Sub Main
DIM Ziel as Currency
Ziel=CCur("4,567.8")
msgbox Ziel
End Sub

You get 4567.8000
That is US form.

CCur("4.567,8") returns 4.5670
CCur("4567,8") returns 45678.000

So either CCur works wrong or the Online-Help is wrong.
Comment 1 Olaf Felka 2006-02-20 08:24:21 UTC
Please have a look.
Comment 2 joerg.skottke 2006-04-25 12:18:43 UTC
to ab, target 2.0.4, p3
Comment 3 ab 2006-05-17 14:17:43 UTC
-> OOo 2.x, STARTED
Comment 4 ab 2006-08-21 14:13:41 UTC
-> OOo 2.1
Comment 5 ab 2006-10-16 16:39:32 UTC
According to discussion with mba/kso -> 2.2 as cws ab30
has to be integrated very soon.
Comment 6 ab 2007-01-02 14:14:58 UTC
2.x due to limited resources.
Has to be evaluated and targeted together with all other 2.x tasks.
Comment 7 Mathias_Bauer 2007-12-04 14:57:29 UTC
basic and scripting issues now should be assigned to component "scripting"
Comment 8 Martin Hollmichel 2007-12-07 12:13:27 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 9 Marcus 2017-05-20 11:29:31 UTC
Reset assigne to the default "issues@openoffice.apache.org".