How can I change format of numbers for bar legends.
I would like to show numbers without digits after the decimal point.

[![bar legend][1]][1]


  [1]: https://i.sstatic.net/Y9wwH.png