¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 2
Modulus operator
Is modulus operator just for int data type? How about if I want to use the modulus operator in float or another data type? Thanks for the response.
3 Respuestas
+ 6
float % float gives error invalid operator, same case for double % double.
Hth, cmiiw
+ 3
Yes float% float gives error
+ 2
thanks