Bilangan Double

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package program;

/**
 *
 * @author Administrator
 */
public class BilDouble {
    public static void main(String[] args) {
        double bil1=0.0;
        double bil2=0.3e-34;
        double bil3=7500000.0;
        double bil4=245.23D;

        System.out.println("double bil1 ="+bil1);
        System.out.println("double bil2 ="+bil2);
        System.out.println("double bil3 ="+bil3);
        System.out.println("double bil4 ="+bil4);
    }
}

0 komentar:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | SharePoint Demo