I have values which will have both integer or float, for example a = 1.0 and b = 2.56. Now, I want to have a = 1 and b = 2.56. How to round off only when value contains inte