0

Today, I am implement a basic calculation in AS and here is results: https://www.flickr.com/photos/139045967@N03/26159345381/in/dateposted-public/

1.0f - 16.0f/100 = 0.84000003; // is right ?

I am use MAC with AS 2.1 preview 5. Anyone help me this problem ?

ZNApps
  • 55
  • 2
  • 8

1 Answers1

0

float uses 24-bit for the significant digits. Which means it has approximately 7 digits of precision.

   1234567
0.8400000 3

It has nothing to do with Android Studio.

user1991275
  • 100
  • 1
  • 1
  • 5