WEBVTT 00:01.440 --> 00:07.280 So as I was editing the video for the last lecture, I noticed something that struck me as a bit problematic. 00:08.040 --> 00:12.990 And as I was recording the lecture, I thought to myself, I thought, I type thirty three dollars and 00:13.000 --> 00:14.540 forty five cents in that form. 00:14.550 --> 00:16.290 And yet the receipt displayed me. 00:16.680 --> 00:18.060 It was only thirty three dollars. 00:18.060 --> 00:20.420 Even so I went and looked in the database. 00:20.430 --> 00:21.030 I was right. 00:21.030 --> 00:23.430 I did a type in thirty three dollars and forty five cents. 00:23.430 --> 00:30.060 And if I look at the database that turned out to be transaction ID fourteen which did have thirty three 00:30.060 --> 00:36.000 dollars and forty five cents saved in the database, but it displayed the wrong information which made 00:36.000 --> 00:44.550 me go look at a particular part of our code and it is under the render go in the web package and it's 00:44.550 --> 00:47.610 the function called format currency which is right here. 00:48.390 --> 00:53.610 And if you look at this, I made a mistake that I should not have made because I learned my order of 00:53.610 --> 00:57.210 operations in the in elementary school like everyone else. 00:57.450 --> 01:00.290 And this math is actually not correct. 01:00.720 --> 01:09.450 So what it should be is float thirty two and divided by float thirty to one hundred, and that will 01:09.450 --> 01:12.720 give me the correct information so that change needs to be made. 01:12.720 --> 01:15.690 And that was a stupid mistake on my part and I apologize for it. 01:16.140 --> 01:23.010 So if I go back now to my virtual terminal receipt page of a receipt page, the terminal page, I can 01:23.010 --> 01:28.600 now turn this back into a hidden field and everything works the way that it's supposed to. 01:28.950 --> 01:29.880 So I apologize. 01:29.910 --> 01:31.110 Silly mistake on my part. 01:31.110 --> 01:36.030 But as I said, very early in the course, everybody makes mistakes and I'm not going to hide my. 01:36.480 --> 01:37.770 Let's move on to the next section.