I was wondering why a coupon value of $24.99 was coming up as $24.00. The table insert was using %d instead of %f. This patch should take care of that.

PS. First patch, impressive eh?!

CommentFileSizeAuthor
coupon_insert.patch734 byteslogictude

Comments

kuahyeow’s picture

Status: Needs review » Reviewed & tested by the community

I can verify this bug and fixed it in exactly the same way.

neclimdul’s picture

Thanks, Committed to HEAD and 4.7

neclimdul’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)