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__(locale=None, soptions=None)
Methods
__init__([locale, soptions])
format(value[, sasfmt, width])
Format the given value