pharaoh fortune slot
Welcome, Guest. Please login or register.
December 13, 2018, 06:38:47 PM

Login with username, password and session length
* Home Help Search Login Register
|-+  Other IT certifications
| |-+  Java certification exams
| | |-+  java basic question of precision in float and double
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: java basic question of precision in float and double  (Read 2751 times)
Junior Member

Offline Offline

Posts: 1


View Profile
« on: September 01, 2005, 01:23:22 AM »

I am a new bie in java. Wants to prepare for the Sun certification. While going through books i came across the follwoing sentences. I didn;t understand the actual meanin of the same.

float values are single-precision
double values are double-precision

what we usually do
float flt=1.234567f;
it will print the flt vcalue as 1.234567
then whats the imporatnce of single precison and doubvle precision
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!