Numeric field filter is not working

I have a number field and filter with user input (text box, type = number) and below is the code.
It is not working while other drop-down list filters are working perfectly. Anything wrong ?

filter = filter.ge(“noBedRooms”, $w(‘#txtBedrooms’).value);
$w(“#dsProperty”).setFilter(filter);

Change it to:

 filter = filter.ge("noBedRooms", Number($w("#txtBedrooms").value));