This is likely a really easy problem, but I cant seem to figure out how to accomplish it. I am going to have a pulse input the pulses will be counted and a frequency calculated. Once the Frequency is calculated and set into its variable, i would like to do a math operation that uses only the whole number(not the rounded number) the math to calculate the Frequency could also use just the whole number. basically i want to declare a variable that ignores everything after the decimal point.

Any and all help is appreciated.