I just wanted to ask that if say I initialize an integer variable like

```
int a = 9;

```

Then, why can't we use this integer value as a by part for the initialization of the `float` variable, like If I try to write

```
float g=a.0;

```

why is this statement actually an error?

What is the problem that is caused inside a compiler when I write this statement?