1 00:00:00,420 --> 00:00:03,060 All right, now it is time for that type conversion. 2 00:00:03,270 --> 00:00:11,390 OK, so let's put this born equal and but high or let's name it. 3 00:00:13,360 --> 00:00:13,680 Strength. 4 00:00:14,110 --> 00:00:14,490 OK. 5 00:00:15,520 --> 00:00:21,560 And we have Vago and its tape is that a number which is 100, OK. 6 00:00:22,240 --> 00:00:24,760 Now, if I want to print one of these, it will. 7 00:00:24,760 --> 00:00:31,890 Waupun, we saw we already saw that one hundred as integer and string as a string, which is what one. 8 00:00:32,080 --> 00:00:32,440 OK. 9 00:00:32,740 --> 00:00:36,010 And if I put the tape function, you can see that it is the same. 10 00:00:36,340 --> 00:00:42,610 Now what if I want to concatenate version with Vata, but we already saw in the previous picture we 11 00:00:42,610 --> 00:00:48,330 cannot connect concatenate string with other values, string only with the string. 12 00:00:48,850 --> 00:00:54,280 So how to do that when actually we will use and a specific functions for that. 13 00:00:54,490 --> 00:00:55,510 So I start. 14 00:00:56,760 --> 00:00:59,940 And it functioned so as the are. 15 00:01:01,010 --> 00:01:10,070 This is to convert to a string theory, so if I type vertue, so this will convert Vata to a star and 16 00:01:10,370 --> 00:01:15,680 for int it will convert that value inside it to integer. 17 00:01:15,710 --> 00:01:19,830 So if I type up one, it will convert it to an integer. 18 00:01:19,850 --> 00:01:27,680 But either way, you cannot you cannot convert something like this, which is a sequence of characters 19 00:01:27,920 --> 00:01:32,540 to integer, but it may work for Aspies, a specific character. 20 00:01:32,570 --> 00:01:35,570 So C abcde one of these. 21 00:01:35,700 --> 00:01:40,490 OK, because each character has its own aske equal right. 22 00:01:41,150 --> 00:01:41,830 Or for. 23 00:01:43,160 --> 00:01:44,790 We want to check this out. 24 00:01:44,810 --> 00:01:52,220 OK, so when we call the first thing I did meet the Integer, I will test on the string. 25 00:01:53,670 --> 00:02:01,470 So here it will convert the Vata, but actually it will not convert it inside the VATA and update the 26 00:02:01,470 --> 00:02:07,600 value inside the bathtub because we didn't put the cement here, which is the equal. 27 00:02:08,130 --> 00:02:10,950 So this value, I want to print it out. 28 00:02:10,980 --> 00:02:13,350 OK, so let's do that actually. 29 00:02:14,300 --> 00:02:15,150 It's pretty simple. 30 00:02:15,920 --> 00:02:17,540 So here is the art. 31 00:02:19,030 --> 00:02:26,890 One hundred, OK, so if I type this, if I saved OK and print it, it will print 100. 32 00:02:26,900 --> 00:02:33,970 But how to distinguish between if it is integer or not, you will use that type function as Willott. 33 00:02:35,640 --> 00:02:42,720 So, yeah, like this, and if I see it, this check, what will happen this time, it's clear the screen 34 00:02:42,720 --> 00:02:44,010 and let's shake this. 35 00:02:44,010 --> 00:02:50,940 You can see that the glass this time it is it is the strength, which means that the value has been 36 00:02:50,940 --> 00:02:53,460 converted to a strength value. 37 00:02:53,700 --> 00:02:55,750 So this is not integer anymore. 38 00:02:55,770 --> 00:02:57,820 This is as a string. 39 00:02:58,280 --> 00:03:01,540 OK, now how to check out how to convert it. 40 00:03:01,560 --> 00:03:07,230 You can just use VAR to equal Astarte for Vata as simple as that. 41 00:03:07,230 --> 00:03:07,570 OK. 42 00:03:07,740 --> 00:03:14,250 And then you can just print the vaastu and it's printed inside the type to check if it is working or 43 00:03:14,250 --> 00:03:14,550 not. 44 00:03:15,060 --> 00:03:20,100 So like this, let's say that, let's check if it is working or not. 45 00:03:20,910 --> 00:03:21,750 So yes. 46 00:03:22,350 --> 00:03:22,770 Yeah. 47 00:03:22,770 --> 00:03:26,000 You can see that we have in the five percent let's checked. 48 00:03:26,040 --> 00:03:27,130 What is the wrong. 49 00:03:27,780 --> 00:03:28,260 Yeah. 50 00:03:28,440 --> 00:03:32,720 Actually I forget to put brackets here actually I forget to better brackets here. 51 00:03:33,180 --> 00:03:35,910 So let's see now and check again. 52 00:03:36,150 --> 00:03:43,950 You can see that the value is ETR, which is what is expected because Vata is now string, the one hundredth 53 00:03:43,950 --> 00:03:44,730 is now string. 54 00:03:44,730 --> 00:03:48,880 As you can see here, the Votto is string not integer anymore. 55 00:03:49,170 --> 00:03:49,620 Right. 56 00:03:50,220 --> 00:03:51,480 OK, so far so.