Hi Cor,

Cor Nouws ha scritto:
> Hi,
> 
> I know how to get the OOoLocale and DecimalSeparatorAsLocale [1], but
> I'm looking for the decimal separator itself.
> I know I should get XLocaleData, but the dev guide [2] says "No further
> functionality is discussed." Cannot find it elsewhere.

The following code works for me :

-----
oLocaleData = createUnoService("com.sun.star.i18n.LocaleData")
dim aLoc As New com.sun.star.lang.Locale
aLoc.Language = "it"
aLoc.Country = "IT"
aLocItem = oLocaleData.getLocaleItem(aLoc)
Print aLocItem.decimalSeparator
-----


HTH
Paolo M.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to