[deleted]
Debug.Log((10.0F / 20.0F) * 5.0F); /// use float variables
Debug.Log(((float)10 / (float)20) * (float)5); ///another way, using int varaible and sact them to float
integer v.s. float
[deleted]
Debug.Log((10.0F / 20.0F) * 5.0F); /// use float variables
Debug.Log(((float)10 / (float)20) * (float)5); ///another way, using int varaible and sact them to float
integer v.s. float