Added Formatter interface for formatting the value into a string
representation from outside of the class.
Added Formatter interface

Added Formatter interface for formatting the value into a string
representation from outside of the class.