Tebeka Shorts: String Formatting

Опубликовано: 09 Июнь 2023
на канале: Ardan Labs
330
28

Welcome to our Tebeka Shorts series, episode 16! A series of short videos surrounding features in the GO language taught by Miki Tebeka. -- Watch now to learn how you control the number of decimal places displayed for a float value. -- In this video, Miki Tebeka will print decimals, with various decimal places, to the terminal screen. To promote reusability, Miki will define a template string that has the star verb and pass the number of places to show as an argument.

Things you will learn in this episode:
String Formatting.
The `*` (star) verb.
Pass arguments while formatting a string.

----

Do you feel that the `*` verb promotes increased reusability of s string format template?
Comment below or tweet us on twitter & let us know your thoughts, we want to hear from you! ~ If you found this video helpful, hit that like button & subscribe for more content like this.

----

Access our online courses → https://www.ardanlabs.com/education/

Attending a live training → https://www.ardanlabs.com/live-traini...

Other Links:
Website: https://www.ardanlabs.com/
Github: https://github.com/ardanlabs
Twitter:   / ardanlabs  

#golang #goprogramming #education #tutorials #tips


Смотрите видео Tebeka Shorts: String Formatting онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ardan Labs 09 Июнь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 330 раз и оно понравилось 28 людям.