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 meant, that you should look into the implementation of that method to see how the conversion from character to digit is done there.

Are you sure that the line
        String abuf = buf.charAt(nLen - 1);
really does, what you think that it does?

Kind regards
Regina


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to