Q:

how to pass a float between activities in android studio

Intent A2 = getIntent();
        float Value = A2.getFloatExtra("rMainValue", 0);
 
        EditText mainResistorValue = (EditText)findViewById(R.id.upperToleranceValue);
 
        mainResistorValue.setText(Float.toString(Value));
0

New to Communities?

Join the community