s/\.(\d+)$//; [download]
In reply to Re: Decimal Removal by Sifmole in thread Decimal Removal by Anonymous Monk