Hello!!! I'm Waléria....i have a question about a functions....i have a function bellow:
y.append(pow(form.cleaned_data['Pinc'],2)/(2*(pow(2*pi*v, 2)))*((pow(2,2)*pow(form.cleaned_data['Qe'],2)))/ (pow(form.cleaned_data['fp'],2))*(pow(form.cleaned_data['df'],2))) I need to pass this parameter (2 * pi * x) directly on the function but displays an error: unsupported operand type(s) for /: 'Decimal' and 'float' As i do? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.