def __init__(self, to_int=False):
self.to_int = to_int<EOL>
Initialize digits filter. Sets flag to also convert to integer.

:param to_int:          bool, convert result to integer
:return:                None