I have initialized a double variable and want to show it in a TextView.   

The variable name is underlined in red.   

I have tried to parse it to a String, but it did not work.   

```
public class MainActivity extends AppCompatActivity {

    Location currentloc = new Location("currentloc");

    double currlat = 0.0;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        TextView gpsbox = (TextView) findViewById(R.id.gpsView);

        try {
            currlat = currentloc.getLatitude();
        } catch(Exception e) {
            Toast.makeText(this, "Hello, an exception was just thrown but I catched it. " + e.toString(), Toast.LENGTH_SHORT).show();
        }

        gpsbox.setText(currlat);

        setContentView(R.layout.activity_main);
    }
}

```