How to see decimal part of float value?
How to see only value of decimal part of float value?For example, if I have 1.455, i need only to see .455 part.
[126 byte] By [
BobMila] at [2007-11-27 4:55:57]

Subtract the integer part? This generates a number (int) from a number (float). Note that casting a float to an int will round towards zero.Or if you really mean you "need only to see", then you are dealing with Strings and you could use indexOf() and substring().
> Read the floating point value.
> Convert that into a string.
> Use the String's substring and indexOf method to find
> the "." and then cut from there, to the end of the
> string.
<sarcasm>
Really? I'm sure pbrockway already said that but i must be mistaken.
</sarcasm>