answersLogoWhite

0


Best Answer

Integers can't store fractional information. Attempting to store the number 1.5 in an integer will give you an integer with the 1 in it - this is data loss.

Another example comes up when the IEEE floating point standard is used to store values. According to the IEEE 754 standard, 32 bits can be used to store decimal values up to 9.999999 x 1096. This is a full order of magnitude larger than the largest integer value that can be stored in 32 bits: 4.294967295 x 109. Attempting to convert one of these very large numbers to an integer will give incorrect results.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you lose data assigning a real number to an integer data type?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Will you lose data if you upgrade your psp?

No you will not lose any data


Do you lose data if you plug your lab-top into a PS3?

No you will not lose data, but your PS3 may become pregnant.


When is data restore perform?

When the computer crashes and you lose your data.


When is a data restored performed?

When the computer crashes and you lose your data.


what are the effects of file security?

lose data or a loss of data i think


How do you lose data?

someone deleted it.


Will i lose data when i take off my xbox 360 hard drive?

You will only lose data during the duration your hard drive is removed. As soon as you reconnect it your data will be restored.


If you replace memory sticks of RAm will you lose any data?

Memory sticks is a storage device that is used to store data.There is no way data can be lost when data is being run on the computer.It can only lose data when there is no power.


What step is critical to ensure that you do not lose important data during installation?

what step is critical to ensure that you dont lose important data during installation


How many kids lose there phone each year?

There is no specific data on the exact number of kids who lose their phones each year. However, studies suggest that a significant portion of children and adolescents misplace or lose their phones annually due to various reasons.


How can you lose your data on black ops?

Your online multiplayer data CAN'T be deleted; Only your Campaign data can be deleted.


When you manually shut down your mac do you lose your data?

no