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
- localestring, optional
POSIX locale to use for formatting.
- soptionsstring, 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__
(self, locale=None, soptions=None)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(self[, locale, soptions])
Initialize self.
format(self, value[, sasfmt, width])
Format the given value