There's no functions to set precision for a string. However you CAN still do it manually. Instead of printing the string, print character by character until:

1) you've reached the end of the string '\0'
2) or until you've reached a '.' then print 2 more characters after that if you want a precision of 2