changed parseint to parsefloat for all ref in the cal service