The methods available depend on which Arduino you are using. All of them support the use of sprintf() to build a string in a buffer ready for printing but most don't support printing floats so you have to convert them to strings
Which Arduino board are you using and what data types are those in your example ?
uint8_t eeData.tariff_sw; // 0-2 : 0=tariff1
float tariff; // in p/min
float cost; // in p
Thanks Bob
PS, if I have all the items in separate Serial.print() statements it's fine, but I think it looks ugly, just trying to tidy up, so it's not a big deal, but would be nice to know ...
I'll read up when I get chance, although I'm trying to avoid having different methods for different boards (I use Nanos as well). Since it'll never be seen by the end user, I'll stick with the separate lines for now.