What data types are used in the formula? With integer arithmetic: 6/10= 0
using doubles: 6.0/10 = 0.6