Java Float vs Double vs Long

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

  1. Nice! This tutorial really goes into the specifics.

    Can you make a video about ActionListener? (E.x. How to make buttons or use arrow keys for a specific action)

Leave a Reply

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