Yep, Value Display does not support formatting, but Labeled Widget supports it and it should be configured in the widget’s settings - please check the above link on how to setup float’s formatting.
LOL…that’s the whole point of my original post. The Value Display is doing some formatting of some kind, and I don’t want any formatting. Just try this yourself:
String x = "40d";
Blynk.virtualWrite(YourValueDisplay_VPIN, x);
That should just display as “40d”, but it will display as “40.0”.
Actually, this is the valid double number on Android. When value comes to android it is parsed with native class Double.parseDouble("40d"); and 40d is valid double number so it is parsed as it was just 40.0.
Ouch! So if a string could be parsed into a double, it will be, but otherwise it displays the unmodified string. That little detail should appear in the docs.
Edited to remove my question and replace it with this answer:
The “40d” displays correctly in a Labeled Value and terminal controls.