Join Kevin Skoglund for an in-depth discussion in this video Numbers, part 2: Floating points, part of PHP Essential Training.
- [Narrator] Now that we've taken a look at integers,…I want to take a look at another type of number…which are floating point numbers,…also simple called floats for short.…You may know them more commonly as decimal numbers,…that is, numbers that have a decimal in them…followed by a number of significant digits.…2.75 is an example of a floating point number.…Now it may seem arbitrary to you…if you haven't done a lot of programing before…that we divide numbers into these two types:…integers and floating point,…and the reason why is because computers store…integers and floating points in different ways in memory,…mostly because of those significant digits…that we have to keep track of with floating points,…because of that, almost every single programming language…has two different types to work with…integers and floating point numbers.…
So let's look at how PHP works with floats.…So I'm going to start out by opening up basic.html…and then I'll just do a save as on that…and let's just change this to be floats.php…
- What is PHP?
- Embedding PHP code on a page
- Inserting code comments
- Variables, strings, arrays, and Booleans
- If, else, and elseif statements
- While and for loops
- User-defined functions
- Function arguments and return values
- Debugging and troubleshooting
Skill Level Beginner
MVC Frameworks for Building PHP Web Applicationswith Drew Falkman2h 57m Intermediate
1. PHP Overview
2. First Steps
3. Explore Data Types
4. Control Structures: Logical Expressions
5. Control Structures: Loops
6. User-Defined Functions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.