# Formatting version number

**URL:** https://www.finalbuilder.com/forums/t/formatting-version-number/557
**Category:** Discussion
**Created:** [August 10, 2007, 10:29am UTC](https://www.finalbuilder.com/forums/t/formatting-version-number/557 "2007-08-10T10:29:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dbrillon](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/dbrillon/32/71_2.png) [@dbrillon](https://www.finalbuilder.com/forums/u/dbrillon)
#### Post date: [August 10, 2007, 10:29am UTC](https://www.finalbuilder.com/forums/t/formatting-version-number/557/1 "2007-08-10T10:29:03Z")

</div>

I have a property set with the version number parameters and I want to create a string of the following format:

Major.Minor.Realease  
00.00.0000

e.g: 08.00.0016 for version 8.0.16

How can&nbsp;I format the number to have a spefic number of zero for padding?&nbsp; I tried the action PropertySet to variable but I'm only able to specify a number of padding 0 for all the variable (eg: 00.00.00)

Thanks,

&nbsp;

David Brillon

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [August 13, 2007, 4:04am UTC](https://www.finalbuilder.com/forums/t/formatting-version-number/557/2 "2007-08-13T04:04:31Z")

</div>

Hi David,   
  
 The String Padding action allows you to pad a variable’s contents to a certain length. The only problem is that it’s a little fiddly, because you’ll have to use separate variables for each version number.   
  
 Please let us know if you’d like to see a sample project.   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

### Author: ![lightbeam](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/e68b1a/32.png) [@lightbeam](https://www.finalbuilder.com/forums/u/lightbeam)
#### Post date: [March 12, 2009, 11:39am UTC](https://www.finalbuilder.com/forums/t/formatting-version-number/557/3 "2009-03-12T11:39:35Z")

</div>

Hi,

I have this same problem right now.

Are you still able to show an example project?

&nbsp;

Tranks,

Fréderick

&nbsp;

EDIT: It's ok... I found the solution already.
