Skip to content

Instantly share code, notes, and snippets.

@ionelh
Created January 28, 2020 16:47
Show Gist options
  • Save ionelh/dfab4e2651e8163d895e43f977037f23 to your computer and use it in GitHub Desktop.
Save ionelh/dfab4e2651e8163d895e43f977037f23 to your computer and use it in GitHub Desktop.
// min / max value
System.out.println(Float.MIN_VALUE);
System.out.println(Float.MAX_VALUE);
// float data type is a single-precision 32-bit IEEE 754 floating point
float piFloat = 3.14f;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment