So as I was editing the video for the last lecture, I noticed something that struck me as a bit problematic.
And as I was recording the lecture, I thought to myself, I thought, I type thirty three dollars and
forty five cents in that form.
And yet the receipt displayed me.
It was only thirty three dollars.
Even so I went and looked in the database.
I was right.
I did a type in thirty three dollars and forty five cents.
And if I look at the database that turned out to be transaction ID fourteen which did have thirty three
dollars and forty five cents saved in the database, but it displayed the wrong information which made
me go look at a particular part of our code and it is under the render go in the web package and it's
the function called format currency which is right here.
And if you look at this, I made a mistake that I should not have made because I learned my order of
operations in the in elementary school like everyone else.
And this math is actually not correct.
So what it should be is float thirty two and divided by float thirty to one hundred, and that will
give me the correct information so that change needs to be made.
And that was a stupid mistake on my part and I apologize for it.
So if I go back now to my virtual terminal receipt page of a receipt page, the terminal page, I can
now turn this back into a hidden field and everything works the way that it's supposed to.
So I apologize.
Silly mistake on my part.
But as I said, very early in the course, everybody makes mistakes and I'm not going to hide my.
Let's move on to the next section.