Hello,

I have a problem with the max() function. I have a dataset with several variables and one of these variables' maximum value is 83.2. To proceed with some calculations I need a column in which I report this value and I have to do this operation with several other times. For this reason I decided to implement the function max in the following way:

egen newvar = max(old_variable)

I'm sure that the result should be 83.2 but my new variable is an approximation of this value (specifically, 83.199997). How is it possible? Is it possible to have the exact value?

Thanks a lot,

Federico