PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Server/Browser differences
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
  • WINDEVWindows MobileUser code (UMC) of the current window: use ChangeSeparator and redisplay the current window with Use.
Versions 15 and later
PHP This function is now available for the PHP sites.
New in version 15
PHP This function is now available for the PHP sites.
PHP This function is now available for the PHP sites.
Versions 19 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store Apps mode.
New in version 19
WINDEVLinux This function is now available for the WINDEV applications in Linux.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store Apps mode.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store Apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
WEBDEV - Server codeAjax
// -- Initialization code of project
// 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:
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).
sepCURRENCYSymbol used for the currencies.
<New Value>: Character (with in quotes)
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.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment