ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Multilingual functions
  • Server/Browser differences
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Changes the value of the separators (decimal separator or thousand separator) used in the numeric masks for internationalization.
To modify the separator:
  • WEBDEV - Server codePHPAjax of the current page: use function ChangeSeparator then redisplay the current page with function PageUse or FramesetUse.
  • WINDEV of the current window: use function ChangeSeparator then redisplay the current window with function Use.
Example
WEBDEV - Server codeAjax
// -- Code d'initialisation de projet 
// Si la langue préférée de l'utilisateur est l'anglais
IF CookieRead("LANGUE_PREFEREE") = "ANGLAIS" THEN
	// On passe les libellés en anglais
	Nation(3)
	// On utilise le "." comme séparateur décimal
	ChangeSeparator(sepDECIMAL, ".")
END
Syntax
ChangeSeparator(<Separator Type> , <New value>)
<Separator Type>: Integer constant
Specifies the type of separator to modify:
sepCURRENCYSymbol used for the currencies.
sepDECIMALDecimal separator (if the operating system used is the French version of Windows, the decimal separator is the comma (",") by default).
sepTHOUSANDThousand separator (if the operating system used is the French version of Windows, the separator is a space character ("") by default).
<New value>: Character
New value for the specified separator.
Remarks
WEBDEV - Server codePHPAjax

Server/Browser differences

The value of the separators can differ in development mode and in deployment mode. Indeed, when running a WEBDEV website, the default value of the separators is defined by the regional settings assigned to the user by the Web server.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help