Implement formatting values in prepared statements.