Java Float vs Double vs Long


Video is ready, Click Here to View ×

Here are the exact differences between float long and double (AKA single/double precision floating point) variables in java! ✅

Int, long, float and double are all variables for numbers. Each variable has its own range. You can find them here:

Int and long variables can’t have decimals.
Float and double variables do have decimals.

Java int, long, double and float variables in java can be tricky… Like I said, I didn’t understand the…

1 thought on “Java Float vs Double vs Long

Leave a Reply

Your email address will not be published. Required fields are marked *