formatting value

`value` should be formatted when used as label for segments.