sorry was working with openmeetings and that is in java
On Wed, May 8, 2013 at 4:42 AM, Regina Henschel rb.hensc...@t-online.dewrote:
Hi Jorge,
jorge ivan poot diaz schrieb:
Hello,
I have a doubt, help
I made this snippet
String abuf = buf.charAt(nLen - 1);
double ng =
Hello,
I have a doubt, help
I made this snippet
String abuf = buf.charAt(nLen - 1);
double ng = ::rtl::math::stringToDouble( abuf, '.', ',', NULL, NULL
);
printf ( Is : %i , ng);
But the return value is 0, in theory I want to return the last digit of the
string
String :
take a substring that contains only the last letter and then use
Integer.parseInt() to convert it into integer
On Tue, May 7, 2013 at 9:56 PM, jorge ivan poot diaz
ivan.pootd...@gmail.com wrote:
Hello,
I have a doubt, help
I made this snippet
String abuf = buf.charAt(nLen - 1);
Hi,
rahul bhola schrieb:
take a substring that contains only the last letter and then use
Integer.parseInt() to convert it into integer
??? We are in C++ not in Java.
Kind regards
Regina
On Tue, May 7, 2013 at 9:56 PM, jorge ivan poot diaz
ivan.pootd...@gmail.com wrote:
Hello,
I have
Hi Jorge,
jorge ivan poot diaz schrieb:
Hello,
I have a doubt, help
I made this snippet
String abuf = buf.charAt(nLen - 1);
double ng = ::rtl::math::stringToDouble( abuf, '.', ',', NULL, NULL
);
printf ( Is : %i , ng);
I do not meant, that you should call stringToDouble. I
,
like Regina I have a hard time to understand the question. My best guess
is that you have an OUStringBuffer object and need an UniString (aka tool's
String [1]). If that is so you can get it using the UniString constructor
that takes an OUString argument:
UniString( buf.makeStringAndClear
Hi Jorge,
jorge ivan poot diaz schrieb:
thanks,
buf.charAt (nLen - 1): this variable has a string as '1' or '2', '3'...'9'
as it could change to int, any ideas, please help!
I've done this:
int ty = buf.charAt(nLen - 1);
built well, but the result is not as expected.
You should post what
Hi Jorge,
like Regina I have a hard time to understand the question. My best guess
is that you have an OUStringBuffer object and need an UniString (aka
tool's String [1]). If that is so you can get it using the UniString
constructor that takes an OUString argument:
UniString
/source/xref/aoo-trunk/main/cui/source/tabpages/tpcolor.cxx#546
Something like this:
OUStringBuffer buf( 128 );
buf.append( aName );
buf.append( 4 );
OUString string = buf.makeStringAndClear();
OString oString = rtl::OUStringToOString( string ,
RTL_TEXTENCODING_ASCII_US );
Substituting aName
Hi,
jorge ivan poot diaz schrieb:
I have doubts about using
class OUStringBuffer
You should be more specific about your problem. Do you need help in
understanding the descriptions in ustrbuf.hxx? Or do you get an compiler
error, which do you not understand? Or do you need help about
I've already made a concatenation, in this file:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/cui/source/tabpages/tpcolor.cxx#546
Something like this:
OUStringBuffer buf( 128 );
buf.append( aName );
buf.append( 4 );
OUString string = buf.makeStringAndClear();
OString oString
11 matches
Mail list logo