title: How to scale a range of values from 0-1 to 0-10
body: <p>I have developed a app which is allowed to play a recording on iOS. On iOS, the volume range is from 0 - 1 ie it returns either 0 or 1. For representational purpose I would like to scale that range to 0-10. How can I do that?</p>