Add ability to set floating point precision