If this is for the A-10, why aren't you using the whole frequency string?
I use this for my LCD radio display:
void onVhfAmFrequencySChange(char* newValue) {
lcd.setCursor(0,0);
lcd.print("VHF AM: "); // Clear the line
lcd.setCursor(8,0);
lcd.print(newValue);
}
DcsBios::StringBuffer<7> vhfAmFrequencySBuffer(0x12de, onVhfAmFrequencySChange);
That gives the whole frequency in one string, including the decimal point.
It's available for all 3 radios, the ILS and the TACAN.