SyntaxFix
Write A Post
Hire A Developer
Questions
if 'a' is already a decimal; adding '.' would make 3.4/b(for example) into 3.4./b
Try float(a)/b