swat.SASFormatter¶
-
class
swat.formatter.
SASFormatter
(locale=None, soptions=None)¶ Bases: object
Create a locale-aware SAS value formatter
This class is typically constructed by calling the CAS.SASFormatter() method. When used in that way, the options for the SASFormatter match the CAS settings.
Parameters: - locale : string, optional
POSIX locale to use for formatting.
- soptions : string, optional
SOptions string from connection object (internal use only).
Returns: - SASFormatter object
Notes
This class requires the binary SAS support libraries to function. It will not work in pure Python mode.
-
__init__
(locale=None, soptions=None)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([locale, soptions]) Initialize self. format(value[, sasfmt, width]) Format the given value