Converted all floats to doubles to fit the maximum precision which can fit on a sign.