Swift Tutorial: Int, Float, Double

Опубликовано: 05 Декабрь 2025
на канале: Swift Goose
1,400
39

In this Swift tutorial video we'll look at integer, float, and double in the macOS programming language, inside of an Xcode playground. We will learn basic math operations (addition, subtraction, multiplication, division, modulo, power, square root), converting integers to strings, working with float and double values, double string formatting and rounding

00:00 Intro
00:11 Playground
01:00 32-bit or 64-bit
02:28 Numerical operations
03:36 Modulo, quotient, remainder
05:17 Power and square root
06:55 Integer to string
08:15 Float and double
09:04 Decimal formatting
10:40 End

Subscribe for more content, as I will be creating more tutorial and how-to videos for coding in Swift, as well as longer tutorials on building macOS apps.

If you'd like to support my work to help me improve video quality and bring more content, please consider donating to my PayPal:
https://www.paypal.com/paypalme/Swift...

Thank you for watching!

Huge thank you to the channels below for helping me get started!
Uncreated Light Press
   / @uncreatedlightpress  
and

Mr. Macintosh
   / @mr.macintosh  
and

The Apple Ninja
   / jessetheappleninja