I found this code on xbase forum.
I do not have a Nls.ch .
How can we use SetLocale?
- Code: Select all Expand view RUN
#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