title: Variable with float stays zero in C
body: <p>When i use <code>scanf</code> to assign <code>euro</code> a user input it will result in zero. I can´t figure out why it is behaving like this. </p>
  
  <pre><code>float euro;
  int main(void){
  
    printf("Ange euro: ");
    scanf("%d", &amp;euro);
    printf("%d", euro);
  
    return 0;
  }
  </code></pre>