By default .1
resolves to type double in java. And adding f
you tell compiler that it is of type float.
So no need to cast it!
1
solved What is .1f means in android
By default .1
resolves to type double in java. And adding f
you tell compiler that it is of type float.
So no need to cast it!
1
solved What is .1f means in android