# Variable modifier help

**URL:** https://discourse.notenik.app/t/variable-modifier-help/309
**Category:** Questions
**Created:** [September 15, 2023, 3:55pm UTC](https://discourse.notenik.app/t/variable-modifier-help/309 "2023-09-15T15:55:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![oddballs](https://discourse.notenik.app/letter_avatar_proxy/v4/letter/o/eada6e/32.png) [@oddballs](https://discourse.notenik.app/u/oddballs)
#### Post date: [September 15, 2023, 3:55pm UTC](https://discourse.notenik.app/t/variable-modifier-help/309/1 "2023-09-15T15:55:58Z")

</div>

Hello -

Is there a variable modifier or series of modifiers that can transform e.g. `1.0.0` to `100`?

Feel like I have tried every possible combination but cannot quite get what i need.

Any advice appreciated.

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [September 15, 2023, 6:01pm UTC](https://discourse.notenik.app/t/variable-modifier-help/309/2 "2023-09-15T18:01:55Z")

</div>

Not sure there is anything right now. Could you share a bit more of your use case? What would this transformation do for you? Two questions here, I guess: Why are the periods there in the first place? Why do you want them removed?

---

<div class="post-metadata">

### Author: ![oddballs](https://discourse.notenik.app/letter_avatar_proxy/v4/letter/o/eada6e/32.png) [@oddballs](https://discourse.notenik.app/u/oddballs)
#### Post date: [September 15, 2023, 6:13pm UTC](https://discourse.notenik.app/t/variable-modifier-help/309/3 "2023-09-15T18:13:12Z")

</div>

It is for an xml file that I use for software updates. The version number is 1.0.0 but the build number is 100 (or 2.3.0.1 should become 2301 etc). It seems overkill to have to have 2 separate fields to handle this when the numbers (in my use case) are always related in this way.

And would also use the version without dots in the file name. Which I would prefer over replacing the dots with dashes (which I can do currently with the existing modifiers).

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [September 15, 2023, 6:24pm UTC](https://discourse.notenik.app/t/variable-modifier-help/309/4 "2023-09-15T18:24:44Z")

</div>

OK. Let me add this to the list.
