dbTalk Databases Forums  

Problems with StrToValue and non-english regional settings

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Problems with StrToValue and non-english regional settings in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matthias Englert
 
Posts: n/a

Default Problems with StrToValue and non-english regional settings - 01-05-2004 , 08:54 AM






Hi,

in my AS-Cube (german OS, german version of SQL-Server) I'm using StrToValue
for a calulation with dimension properties, that looks like this example:

CalcMeasure = StrToValue(Product.currentmember.Properties("myFac tor")) *
Measures.Volume

The property is a decimal value, which looks like "1,85" using german
settings and "1.85" using english settings.
The conversion with StrToValue only works when I switch the locale settings
from "German" to "English".

Are there any possibilites to make the same things run in a non-english
system environment or is this a kind of limitation of StrToValue?

Regards,
Matthias



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.