Help with rotation sensor

I did the sensor and it is work, but my program only show the frequency like a integer number. I need the program shows the decimal part of frequency, anyone can help me?

code.txt (703 Bytes)