Home Tutorialhelp Allcomments Java Java Conversion Convert Decimal To Fractions

 
 

Comments

 
User Comments for the tutorial:

Convert Decimal To Fraction



Total comments: 2      View Tutorial    Discuss: Convert Decimal To Fraction
Advertisement
Comments

I do not think this does what you think it does
Hey so...this doesn't actually do what the title says. This takes a decimal number, casts it to an int (thereby losing the decimal part) and then prints the int to the streen again but now in double precision. Doubles aren't...fractions. 

WTF IS THIS
That doesn't convert to fraction, all you did was change it from 'int' to 'double' 

Related Tutorial and Articles
Java Beginners

What do you think about client-side/server-side coding ?
What do you think about client-side/server-side coding ?  Hi, What do you think about client-side/server-side coding 

Java Beginners

what should i do next?? - Java Beginners
what should i do next??  I know java basics.actully i passed the SCJP exam.Then now i have no idea about what should i do next.I like to come....  i think first u should go through servlet bcoz at last ur jsp code 

Java Tips and Examples

Conversion of Decimal to Binary in Java
Conversion of Decimal to Binary  in Java In this section we will discuss about conversion of Decimal to Binary in Java. You know that number having... package provide one function to convert into decimal i.e. toBinaryString 

SQL Question

What does COMMIT do?
What does COMMIT do?  What does COMMIT do?   Hi, here is the answer, COMMIT makes permanent the changes made by DML statements in the transaction. The changes made by the DML statements of a transaction become 

Java Beginners

Convert Euro to dollar, need to be able to enter decimal!
Convert Euro to dollar, need to be able to enter decimal!  Hi, this is what my program is supposed to do: Write a program that repeatedly performs..., the program quits. My program does all that. The only problem is, that if you enter 

Java Beginners

Convert Euro to dollar, need to be able to enter decimal!
Convert Euro to dollar, need to be able to enter decimal!  Hi, this is what my program is supposed to do: Write a program that repeatedly performs..., the program quits. My program does all that. The only problem is, that if you enter 

Interview Questions

Don?t you think you are overqualified for this job?
to the company. The position in question is exactly what you want to do and what... of study. 12. What options do you have in your career now? The interviewer... what I do best and where I wanted to go from here. I didn’t want to jump 

JavaScript Questions

What does the delete operator do?
What does the delete operator do?  What does the delete operator do 

JavaScript Questions

What does the delete operator do?
What does the delete operator do?  What does the delete operator do 

Java Beginners

Package does not exist.. - Java Beginners
Package does not exist..  Hi.. thanks for ur Answers friend.. I have completed the program quite now.. Still i have with Compilation error.. ERROR : javax.mail.*; ----> Package does not Exist.. Wat can i do now 

Advertisements Advertisements
 

 

 

DMCA.com