
Data Structures – Primitives
Coding Blocks
00:00
Why Would You Use Floats or Doubles?
We're taught that if you have the same thing above and below, then that's automatically a one. That's why I said like you might be tempted to think that it's a one. So how there's no such thing sort of. Yeah, but but it's like real, but not real. Um, yeah, Like floats are so much more interesting to me now than they ever were. We really talked about what they were for. Right? When you are your checkbook, you are trying to balance as many continuous values as possible. And again, when you're trying to predict things, the accuracy to the, you know, 20th decimal place doesn't matter as much
Transcript
Play full episode