String values in Singlestat

My InfluxDB query returns a string value, but the Singlestat panel is treating it as a number. This means that a “0000” string is shown as “0” but also that a hex number like 071E365 (a serial number) is shown as “infinite” and others just get the leading “0” removed. That is a bit surprising.
Is there another way in Grafana to show string values? -Rob