title: How can I change the tick frequency in trackbar to a decimal?
body: <p>I am trying to set the trackbar's tick frequency to 0.015625.</p>
  
  <pre><code>private void trackBar1_Scroll(object sender, EventArgs e) {           
      ScrollBar.TickFrequency = 0.015625;
  }
  </code></pre>
  
  <p>I am getting an error that says:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'double' to 'int'. An explicit conversion exists (Are you missing a cast?)</p>
  </blockquote>
  
  <p>And:</p>
  
  <blockquote>
    <p>Cannot convert method group 'ToDouble' to non-delegate type 'int'. Did you intend to invoke the method?</p>
  </blockquote>
  
  <p>Can someone explain that means or what I'm doing wrong?</p>
  
  <p>Edit: I found the  answer to my question.</p>
  
  <p>Demo.Property = (ScrollBar.Value * (Rate));</p>
  
  <p>In my case I used:</p>
  
  <p>Demo.Inches = (ScrollBar.Value * 0.015625);</p>