Using float to store seems to work better