Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Highlighted
Contributor
Posts: 19
Registered: ‎04-16-2013
My Device: PlayBook
My Carrier: N/A

Strange Float output "@.0..."

[ Edited ]

I have an error with a Float saved in the app settings.

After some testing on the PlayBook, I noticed that some float values are output strangely, for example:

float f = 1.0e-12f;
System.out.println (f); // prints "@.0E-12" !!

How is this possible??