logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
dasmedienatelier  
#1 Posted : Monday, February 6, 2017 12:56:56 PM(UTC)
dasmedienatelier

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2015(UTC)
Posts: 49
Man
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).aspx

But 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
Users browsing this topic
Guest
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.