The modulus function in Microsoft SQL Server only works on certain data types.
According to the MSDN Article [1] on the modulus operator, you normally would use modulus like this...
dividend % divisor
dividend
Is the numeric expression to divide. dividend must be a valid
expression of any one of the data types in the integer and
monetary data type categories, or the numeric data type.
divisor
Is the numeric expression by which to divide the dividend.
divisor must be any valid expression of any one of the data
types in the integer and monetary data type categories, or
the numeric data type.
However that doesn't work when the dividend is a float data type. The answer we came up with is listed below for future reference.