I just noticed that my answer will overflow when at the higher frequencies. So for a single decimal point it should stay within limits throughout the range you gave in post 1.
Code:b=5000 c=1000 dummy = b * c '5,000,000 frequency = div32 mytime LCDOut dec frequency/10,".",dec frequency//10," Hertz"
Bookmarks