I know that AVR microcontrollers are unable to print floats using sprintf, but can the Due, an ARM controller, do the following:
void setup(){
Serial.begin(9600);
while(!Serial);
char buffer[15];
float x = 1.23;
sprintf(buffer, "x = %f", x);
Serial.print(buffer);
}
void loop(){
}