Formatting string issue: always 3 decimals

Hi,

I'm not able to display specific decimals. ATVO display always 3 decimals.
I checked with the old FOX theme, same result.

Something have change? Is it a bug?

Normaly it will display one decimal like this:


I try both latest stable and beta version.

Thx!
Posts: 785
Thanks. I think this is because all the gap and interval bindings are 'special' bindings. If you select them in the 'Select Data Bindings' window you get several additional properties you can change for this binding. Therefore gaps don't return numeric values (which you can format), but they return text directly (which you cannot format in this way).

I can see if I can add a formatting option to the special binding properties instead.
Indeed Nick, I already changed the "Lap(s) Display" to have "+xL" instead of "+x Laps".
My goal is to have a narrow column for the gap.

Thanks for your quick reply ;)
Posts: 287
Hi Toche, Take a look at this scripts. For gap it is interressant cause you can personilise everything.
Scripts on this forum
Edited (1 time)
Thx Manu ;)
My theme is not new so I already use this original script for DNS, DNF, PIT. But when I focus on two teams (or drivers) I have also live gap (also gap on mini standings... gaps everywhere ;) ).
If Nick can easily add a formatting option on those specials bindings... it will be more easy, clean, scriptless and more what you can expect for this feature :) If not, yes, I'll have to script this...
Posts: 287
Sure ;)
Edited (1 time)
Add 'Seconds Format' to any gap/interval special bindings, which control the way the seconds portion of a gap time is formatted. For example, use the default "0.000" to get 3 decimals, or use "0.0" to get a single decimal, etc.

Thanks Nick it seems working.

On the other hand, I would like also to have on decimal with a normal data binding... and it doesn't work and idk why :(
I would like to have also one decimal for 'prevlap' (so no special data binding).
As you can see I have 3 decimals instead of one... Can you check on your side?





Thank you!
Posts: 785
The laptime bindings are already converted to a 'formatted' time for you (otherwise it would give you the total seconds like 108.077 instead of 1:48.077). Maybe I can make these bindings into special bindings too where you can select some more formatting options.