checked works and remove decimal numbers in pertage