Created
August 22, 2018 12:58
-
-
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/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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