Comment on Tutorial - float vs double data types in Java By Baski



Comment Added by : robert

Comment Added at : 2014-12-12 07:48:59

Comment on Tutorial : float vs double data types in Java By Baski
from docs api api/java/awt/Frame/setOpacity:

public void setOpacity(float opacity)
Sets the opacity of the window.
The opacity value is in the range [0..1]
//

commenting because if float isn't good for precision it's strange to me oracle would choose float for this value


View Tutorial



Subscribe to Tutorials

Related Tutorials

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Java program to check if user input is an even number

Archived Comments

1. Ok, now I get it. New to Java and it just didnt ge
View Tutorial          By: izdelava strani at 2011-12-16 09:42:51

2. Even i got d same error. can u plz tell me where t
View Tutorial          By: Priya at 2011-03-14 12:16:54

3. Thank you sir this is a nice example/
View Tutorial          By: Techbymak at 2013-01-08 09:51:54

4. i like this a lot
View Tutorial          By: raj at 2011-05-06 06:15:36

5. nice to learn abt it
View Tutorial          By: aice at 2012-08-25 12:49:35

6. Hi, If any body was able to send the message suces
View Tutorial          By: Pradeep Singh Chouhan at 2011-03-02 23:03:05

7. import java.util.Scanner;
public class Swit

View Tutorial          By: srinath at 2013-04-28 10:17:24

8. nice overview on struts.....
View Tutorial          By: priyanka at 2010-08-23 00:13:33

9. Thanks ,got useful information on toString().
View Tutorial          By: jaffar at 2011-08-01 10:15:04

10. Plse Send me The Code For Sms Application to My Ma
View Tutorial          By: Santoshb at 2010-09-08 07:08:55