ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Multilingual functions
  • Server/Browser differences
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 ChangeSeparator and redisplay the current page with PageUse or FramesetUse.
  • WINDEV of the current window: use ChangeSeparator and redisplay the current window with Use.
Example
WEBDEV - Server codeAjax
// -- Project initialization code
// If English is the favorite language of the user
IF CookieRead("PREFERRED_LANGUAGE") = "ENGLISH" THEN
// Change the captions to English
Nation(3)
// Use "." as decimal separator
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 site, the default value of the separators is defined by the regional settings assigned to the user by the Web server.
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help