decimal places

  1. German Buchmuller

    Android Question Show the 0 when a decimal is lower than 1

    Hi, ive been using some math in my app, and I noticed that when a number with decimals is lower than 1, then the result is showned without the 0. Example: Insteado of "0.5", I get ".5". How can I add the "0" before? Thanks!
Top