Alright, now I got, thanks @TwistedTwigleg .
Another way to get the quotient is casting the numbers to int:
var a = 7.0
var b = 5
var quotient = int(a) / int(b) # 1
The modulo operator % just works with integers, so to use it or you need to cast both number to integer or use fmod() function.