Different behaviour format strings

Started by gkaudewitz, March 19, 2019, 03:58:57 PM

Previous topic - Next topic

gkaudewitz

Hello together,
Currently using Version 2.0.5 in production I have a map with a DCI container in it. DCI-Container is filled with values from a portchannel traffic counters. The values are formatted with "%*dbit/s" and I get a clean value with "638Kbit/s" or "673Mbit/s".
Using same formatstring with version 2.2.11 I get an errormessage "<INVALID FORMAT> /%d)bit/s". Only formatting with "%dbit/s" works but that gives me the raw value like "622600bit/s".
Has something changed concerning outputformatting or is there an error with my format string.
It would be great to have same output in version 2.2.11 as in 2.0.5 because it is much easier to read.
Best regards
Georg

Tatjana Dubrovica

We will fix it in the next release, but currently you can use one of next options, depending on number of characters you want to have after the dot:
%*.0f bit/s
%*f bit/s
%*s bit/s

gkaudewitz