vMix Forums
»
General
»
General Discussion
»
Data sources: using numeric format strings
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2015(UTC) Posts: 49 Location: Germany Thanks: 11 times Was thanked: 3 time(s) in 3 post(s)
|
Hi, I know that this subject has been already discussed when it comes to formatting dates. And I also know about the link to the MSN NET help. https://msdn.microsoft.com/en-us/library/0c899ak8(v=vs.110).aspxBut I don't get it how to use it on ordinary integers. I've got a data source (CSV file) containing several fields which need to be zero-padded. I've assigned the title to the data source and the data is displayed. So far so good. But what do I have to enter in the format field in order to zero-pad a number from 0-9? I.e.: "0" becomes "00" etc. I've tried {0:DD} {0:"DD"} {0:"2D"} {0:"D2"}{0:D2} {D2} {D2:0} but nothing works? I found out that {0,20} will insert 20 spaces before the value. But the format does not seem to be saved? When hitting okay the data is formatted, but the format string is resetted to {0} when opening the title editor. Any help would be much appreciated. Thanks, Knut
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Data sources: using numeric format strings
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close