# Replay Gain Tags

**URL:** https://community.mp3tag.de/t/replay-gain-tags/18550
**Category:** Support
**Created:** [December 26, 2016, 12:06am UTC](https://community.mp3tag.de/t/replay-gain-tags/18550 "2016-12-26T00:06:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bigfoot](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@bigfoot](https://community.mp3tag.de/u/bigfoot)
#### Post date: [December 26, 2016, 12:06am UTC](https://community.mp3tag.de/t/replay-gain-tags/18550/1 "2016-12-26T00:06:43Z")

</div>

Hello everyone...

Some of my tags have Replay Gain tags with extra "0" in them:

-7.050000 db

I would like an action that would remove the extra "0" and make them:

-7.05 db

Thanks for your help,

Bigfoot ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [December 26, 2016, 9:27am UTC](https://community.mp3tag.de/t/replay-gain-tags/18550/2 "2016-12-26T09:27:36Z")

</div>

> [@Bigfoot](#):
>
> ... Some of my tags have Replay Gain tags with extra "0" in them: -7.050000 db  
> I would like an action that would remove the extra "0" and make them: -7.05 db ...

Please tell us something about the reason, why do you want to modify this Replay Gain value.

If you really want to change this Replay Gain value, then you can try out following proposals:  
From: -7.050000 db  
To: -7.05 db

$regexp('-7.050000 db','0+ db',' db')  
... or ...  
$trimRight('-7.050000 db','0 db')' db'  
... or ...  
$trimRight('-7.050000 db','bd 0')' db'

Merry Christmas and a Happy New Year!

DD.20161226.11.27.CET

---

<div class="post-metadata">

### Author: ![bigfoot](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@bigfoot](https://community.mp3tag.de/u/bigfoot)
#### Post date: [December 26, 2016, 9:51am UTC](https://community.mp3tag.de/t/replay-gain-tags/18550/3 "2016-12-26T09:51:03Z")

</div>

> [@DetlevD](#):
>
> Please tell us something about the reason, why do you want to modify this Replay Gain value.
> 
> If you really want to change this Replay Gain value, then you can try out following proposals:  
> From: -7.050000 db  
> To: -7.05 db
> 
> $regexp('-7.050000 db','0+ db',' db')  
> ... or ...  
> $trimRight('-7.050000 db','0 db')' db'  
> ... or ...  
> $trimRight('-7.050000 db','bd 0')' db'
> 
> Merry Christmas and a Happy New Year!
> 
> DD.20161226.11.27.CET

Thanks for the reply.. What I'm trying to do is get rid of the extra "0" in the tags. When I originally tagged the files, the values were all like (-8.67 db, -5.55, etc), but some program that I have used since has added the extra zeros.. Not just on -7.05 db but on all values:

-9.990000 db to -9.99 db  
1.090000 db to 1.09 db

Thanks, Bigfoot

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [December 26, 2016, 10:40am UTC](https://community.mp3tag.de/t/replay-gain-tags/18550/4 "2016-12-26T10:40:55Z")

</div>

> [@Bigfoot](#):
>
> ... What I'm trying to do is get rid of the extra "0" in the tags. When I originally tagged the files, the values were all like (-8.67 db, -5.55, etc), but some program that I have used since has added the extra zeros. ...

Because in general there is no need to manipulate textual stored RG values within Mp3tag, ...  
please explain the reason, why do you want to modify this Replay Gain value.  
If it will be only a cosmetic approach, then leave it as is, and use your time for better things to do.

You may have a look into this thread ...  
[/t/10978/1](https://community.mp3tag.de/t/10978/1)

DD.20161226.1244.CET

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:26pm UTC](https://community.mp3tag.de/t/replay-gain-tags/18550/5 "2026-02-09T12:26:35Z")

</div>


