Hello,
I found this code on xbase forum.
I do not have a Nls.ch .
How can we use SetLocale?
Best regards,
Otto
I found this code on xbase forum.
I do not have a Nls.ch .
How can we use SetLocale?
#include "FiveWin.ch"
#include "Nls.ch"
//----------------------------------------------------------------------------//
function Main()
? SetLocale( NLS_SDECIMAL ) Â // --> "."
SetLocale( NLS_SDECIMAL, "," ) Â // Umstellen auf Komma
n := 12.34
? n  // --> 12,34
 Â
return nil
//-----------------------Best regards,
Otto