human
Limiting floats to two decimal points
assistant
Here is some code to limit float 3.14159 to two decimal points

('%.2f' % 3.14159)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.