Fix bug to place the negative sign in the beginning of the returned String. PiperOrigin-RevId: 333504868
Common code used by other ExoPlayer modules.