FloastPointDemo.java Source code

Java tutorial

Introduction

Here is the source code for FloastPointDemo.java

Source

public class FloastPointDemo {
    public static void main(String[] args) {

        // Returns a copySign of the first argument
        double d = Math.copySign(1234.56, -1);
        System.out.println("Math.copySign (1234.56, -1) = " + d);
    }
}

//