title: How to call function and retrieve two returns in Arduino or C?
body: <p>I made a function, and I want to retrieve two returns, not a single return such as this example:</p>
  
  <pre><code>long Conv(double num){      
      long a,b;
      a = floor(num);
      b = num * pow(10,6) - a * pow(10,6);
  
      return a;
      return b;
  } 
  </code></pre>
  
  <p>When I call the function </p>
  
  <pre><code>long a = Conv(30.233456);
  </code></pre>
  
  <p>the question is: how do I retrieve <code>b</code>?</p>