 Hello everyone, it is Crypto Grounds here and welcome back to another Unity Idle Game Tutorial video. This is episode 5.4 and today we're going to be working on the logarithmic notation. If you have no idea what that looks like, it looks something like this. So basically the purpose of this is to condense the number even more and this is good if your numbers want to get really big, really fast. So instead of having a lot of just floating decimals and then a large exponent here, you can just condense this down to something like this instead. If this video was helpful, make sure you leave a like and subscribe if you're new around here. Be sure to turn on that bell if you want to get notifications for future videos and live streams. Anyways, let's hop right into it. So fourth episode in a row where this is going to be a piece of cake. So let's head to our method script. And same thing as the engineering notation, we're going to add case 3 and this will be our log notation. So this is very, very easy guys, I'm telling you. All we need to do my friends is to take the log base 10 of the number we pass in. That is freaking it guys, I'm telling you, except I'm going to make this an absolute because we can run into issues when we have negative numbers inside this log 10. So we're just going to make this an absolute. So that makes sure it's always positive. And then we're going to apply two string and three. So we want the commas as usual. Now if you want to have the mantissa digits, you can just do, you can just add that inside of the string mantissa digits like that. And we also want to add the E at the beginning of this string. And I'm just going to join this all together with string interpolation. And it looks like that. Muah, very easy. This is all we need to do for this notation. Now if you want to clean this up a little bit, make things look a little cleaner and shorter, what you can do on Ryder at least, I'm not sure if other IDEs you can or other text editors is do all, enter, import static members. And it just chops off all of these big doubles and applies it right here using static break infinity to help big double. So just a heads up, it will get rid of all of them. And you can see how much shorter this looks. But just to prevent any confusion in case anyone can't do that and doesn't want to do it manually, I'm just going to keep it as is like that. And same as the previous episode, we're going to head straight to settings and apply our log notation to our settings. That's all we need to do. Let's test it. All right, so we're currently on engineering still. Let's head to settings and switch it. Here we go. See how nice that looks. Looks very nice. Also looks like the costs don't want to upgrade until we click on them. So what you can do is when you change their settings here, or when you sync the settings at least, you can call upgrade manager. Dot upgrade manager dot update upgrade UI. Now, you'll just call this whenever you're changing the notation. So all the upgrades are synced. All right, we're all set for the notations, guys. This is going to be the last one. I want to do letter notation, but it's very hard to make. And I just don't have the patience for that. Sorry. So if you enjoy this video and if you find it helpful, make sure you leave a like as it really helps out the videos. Subscribe to my channel if you're new around here and you're not subscribed yet. Turn on the bell if you want to get notified for whenever I post videos or whenever I go live. Sometimes I like to play games or work on my own when I get the chance. Thank you guys very much for watching today. I'll see you guys on episode six, which will be progress bars. Yes, finally, something different for once. And I hope you guys have a great day or night. I'll see you next one. Peace. Oh, and if I turn it up, then I'm bound to attract the crowd. So no wonder me and Tim be out of state doing things you can't imagine. Chris Angel on the mic and me a beat. I'll show you magic. We bought a different.