summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/hardware/arm/HW_ARM.h
blob: c71a5ff17999f9ee91b5e10275b20b1a2c091421 (plain)
1
2
3
4
5
6
7
void UTFT::_convert_float(char *buf, double num, int width, byte prec)
{
	char format[10];
	
	sprintf(format, "%%%i.%if", width, prec);
	sprintf(buf, format, num);
}