I have this table structure on a SQL Server 2008 R2 database:
CREATE TABLE FormTest
(
clientid char(10),
DateSelected date,
A int,
B int,
C int
)
Dividing integers will result in an integer (The remainder part will be ignored). Hence, when dividing, work with decimals or floats. This should work in addition to the float solutions given earlier. Replace (12,2) with your preferred precision:
SELECT clientid, (((
Cast(a as decimal(12,2)) +
Cast(b as decimal(12,2)) +
Cast(c as decimal(12,2))
) / 3) / 216647 * 10) AS Formula1
FROM FormTest