change x.f to be x.0f as per the coding standard