# How to add two floating point numbers ?

Anto Telvin

Ranch Hand

Posts: 113

posted 7 years ago

hi all

i read this floating point arithmetic addition , subtraction, multiplication, Division .but i am not able to perform that operations effectively .can anyone help me please

thanks

i read this floating point arithmetic addition , subtraction, multiplication, Division .but i am not able to perform that operations effectively .can anyone help me please

thanks

Anto Telvin Mathew<br />Many of the life failures are people who did not realize how close they were to success when they give up. EDISON

Gamini Sirisena

Ranch Hand

Posts: 378

posted 7 years ago

What do you mean 'not able'?

Are you doing science or engineering?

I hope you are not trying to use floating point for money/currancy. That is a sin.

Originally posted by Anto telvin Mathew:

floating point arithmetic addition , subtraction, multiplication, Division .but i am not able to perform that operations effectively

What do you mean 'not able'?

Are you doing science or engineering?

I hope you are not trying to use floating point for money/currancy. That is a sin.

It is sorta covered in the JavaRanch Style Guide. |