Skip to content

Instantly share code, notes, and snippets.

@javautodidacta
Created August 22, 2018 12:58
Show Gist options
  • Save javautodidacta/7f43b1a4b0650a55ac062b07c91e6564 to your computer and use it in GitHub Desktop.
Save javautodidacta/7f43b1a4b0650a55ac062b07c91e6564 to your computer and use it in GitHub Desktop.
Tipos primitivos en Java II – decimales, char y boolean (e) / https://javautodidacta.es/tipos-primitivos-en-java-2/
package es.javautodidacta;
public class Superindice {
public static void main (String[] args) {
double e = 4.5e2;
float f = 4.5e2f;
System.out.println(e);
System.out.println(f);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment