num1 optional default 0The dividend - the number being divided. Converted to float, so decimals are allowed. The result keeps the sign of this value. Non-numeric text converts to 0.
num2 optional default 0The divisor - the number to divide by. Converted to float. A divisor of 0 is undefined and returns NAN, so in practice this must be a non-zero number.
{fmod:10.5:3}
{fmod:10:0}
{fmod:6:3}
{fmod:-10:3}
{fmod:10:-3}
{fmod:10:3}