Page 1 of 1

Displaying Numeric value i.e. 3 as 003

Posted: Thu Oct 16, 2008 2:05 am
by ssdev23
Hey everyone, i need help about this please..
So how can I display numeric value 3 as 003 or 10 as 010?

It's an Int value, how do i set it up?
Add something on BeforePrintEvent? Format data display? How?

Thanks in advance!

Merci,
Cc

Displaying Numeric value i.e. 3 as 003

Posted: Thu Oct 16, 2008 2:35 am
by mace242
You could use something like:

{int.Parse("10").ToString("000")}

in the text property.

This will show as 010.

Displaying Numeric value i.e. 3 as 003

Posted: Mon Oct 20, 2008 2:03 am
by ssdev23
Thanks mace242 it worked well!