title: Calculate slope - just with angle
body: <p>I want to calculate the slope in %
  for example i just have the angle:
  (maybe in PHP or Javascript)
      slope(22.5) //50%</p>
  
  <pre><code>0=0%
  22.5=50%
  45=100%
  67,5=50%
  90=0%
  112,5=50%
  135=100%
  180=0
  202,5=50%
  225=100%
  270=0
  </code></pre>