Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2012-09-03 13:02:26

tina123
Member
Registered: 2012-04-29
Posts: 83

convert data in integers

Can any one convert the following data in integers .
thanks

<data> 4.5625336119761198e+002 0. 1.5886571681507525e+002 0. 4.5625336119761198e+002 1.3768139354666781e+002 0. 0. 1.</data>

Offline

#2 2012-09-03 17:00:40

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,922

Re: convert data in integers

Hi

What do you mean by "convert in integers"?


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#3 2012-09-03 19:22:15

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 95,975

Re: convert data in integers

Hi;

4.5625336119761198e+002 that means

In integers it is now 456


In mathematics, you don't understand things. You just get used to them.

If it ain't broke, fix it until it is.

Online

#4 2012-09-04 12:46:55

tina123
Member
Registered: 2012-04-29
Posts: 83

Re: convert data in integers

bobbym wrote:

Hi;

4.5625336119761198e+002 that means

In integers it is now 456

Thanks bobby

Offline

#5 2012-09-04 12:58:46

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 95,975

Re: convert data in integers

Hi tina123;

For the problem I gave you the simplest conversion that might occur in some programming language if you attempt to stuff a floating point constant into a variable of type integer.

There are other types of integer conversions which might give different answers.


In mathematics, you don't understand things. You just get used to them.

If it ain't broke, fix it until it is.

Online

Board footer

Powered by FluxBB