Dear all
I have a simple question but not sure how to address it. I have the following dataset


Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input double hhs_id int menu double weight
474.1  315   20
474.1 2891  585
474.1 2773 2501
474.1 2771  550
474.1 2781 1080
474.1 2772 2714
474.1  303   20
474.1 2522    3
474.1 2772   60
474.1  316   10
474.1  313 1000
474.1  303   20
474.1 2881  117
474.1 2892 2695
474.2 2891  486
474.2  621  250
474.2  303   20
474.2 2771  863
474.2 2892  405
474.2 2522    8
474.2 2781 1152
474.2 2881  706
474.2 2772 1751
end
label values menu x1_05
label def x1_05 303 "Biscuit", modify
label def x1_05 313 "Any boiled food", modify
label def x1_05 315 "Betel Leaf", modify
label def x1_05 316 "Supari", modify
label def x1_05 621 "White Sweet Potato", modify
label def x1_05 2522 "Salt (Iodine)", modify
label def x1_05 2771 "Rice/Jao", modify
label def x1_05 2772 "Rice/Jao", modify
label def x1_05 2773 "Rice/Jao", modify
label def x1_05 2781 "Panta Bhaat", modify
label def x1_05 2881 "Bhaji", modify
label def x1_05 2891 "Jhol curry", modify
label def x1_05 2892 "Jhol curry", modify
For the variable hhs_id I want to drop the observations that are greater than .1 decimal points. For instance in the dataex example above I want to retain values that are precisely 474.1 but want to drop values that are 474.2. Any advice is welcome.