I’m trying to figure out how to get a whole value from `%_bitrate%.

`,$set(_bitRateValue,$left(%_bitrate%,3)))`

seems to work except I’m not convinced what happens the value of bitrate is less than three places left of the decimal. `xx.xxx`

…and when the bitrate is a 4 place value… you’re losing the thousandth position.

When I’ve tried `,$set(_bitRateValue,$left(%_bitrate%,4)))`

I sometimes get a decimal point which doesn’t work with `$lt,lte,gt,gte`

etc. at all, and using ,3 of course will give me 140 for something that was 1400… so if the bitrate is showing higher than 999 I get bogus values to compare against.

```
$if($eq(%_bitRateType%,VBR)$set(_fileVBRRate,%_vbrRateValue%) ,
$if($gt(%_vbrRateValue%,319),$set(_fileVBRRate,320+),
$if($gt(%_vbrRateValue%,220),$set(_fileVBRRate,V0),
$if($gt(%_vbrRateValue%,191),$set(_fileVBRRate,V1),
$if($gt(%_vbrRateValue%,170),$set(_fileVBRRate,V2),
$if($gt(%_vbrRateValue%,150),$set(_fileVBRRate,V3),
$if($gt(%_vbrRateValue%,140),$set(_fileVBRRate,V4),
$if($gt(%_vbrRateValue%,130),$set(_fileVBRRate,V5),
$if($gt(%_vbrRateValue%,120),$set(_fileVBRRate,V6),
)))))))))
```