Search Locate Previous Next Contents

chSetSeparators – thousands and decimals

Overrides the Windows default settings for thousands and decimal separators. If only one char is given, it replaces the decimal separator only. The previous value is returned as a 2-character string.

 old„chSetSeparators '~^'

This can be used in a webserver application to make correctly formatted numbers for the locale reported by the browser in the HTTP header, regardless of where the server is running. Function BaasChart tests it with German ‘56,7’ style decimals.



Continue to: chText – low-level text output
© Copyright Causeway Graphical Systems Ltd 2003