Meta custom field: remove the comma from the string with str_replace

I have a website that shows car / vehicle listings. Each listing shows the PRICE. The price is set as a custom field in a type of custom publication, which is set in a type of string data. The user usually writes the price as 8,999. I need echo / output / display the data with the deleted comma, like this: 8999

I currently show the data like this:

ID, "_price", true); ?>

How can I use str_replace to generate this data without a comma? Or is there a better and simpler way? Any suggestions will be appreciated.