Different behaviour format strings
-
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 -
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 -
Thanks that works fine!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login