Hi,

My dataset contains a variable called "Ratio". Values therein range from 0 to about 500. Some values are whole numbers (0, 1, 2, 3 etc) and some values have decimal points (e.g. 3,47 etc). I want to keep 0 as 0 but change all other whole numbers to 1 and keep the decimal values as they are. Any pointers on how to do this?

Best wishes,

David