Forum Discussion
APena7
New Contributor
6 years agoHow to convert float to string for UART transmission
I'm trying to send a floating point number (it's the ratio of two measurements the device makes) via UART to a terminal program (Termite). However, I understand that the printf function for nios ii d...
Ahmed_H_Intel1
Frequent Contributor
6 years agoHi,
If it is a number why you don't transfer it to integer and print it?
You can simply use:
int(float BER);
Regards,