This function is a generic function to create formattable object, i.e. an object to which a formatting function and related attribute are attached. The object works as ordinary object yet has specially defined behavior as being printed or converted to a string representation.

formattable(x, ...)

Arguments

x

an object.

...

arguments to be passed to methods.

Value

a formattable object