Page 1 of 1

About Question enthuware.ocajp.i.v8.2.1277 :

Posted: Sat Jul 07, 2018 11:16 am
by __JJ__
Hi
So a float is considered larger than an int? I had thought seeing as they are both 32-bit that would not be the case.

TIA.

Re: About Question enthuware.ocajp.i.v8.2.1277 :

Posted: Sat Jul 07, 2018 9:03 pm
by admin
Not in terms of size but in terms of range.

Re: About Question enthuware.ocajp.i.v8.2.1277 :

Posted: Mon Oct 29, 2018 12:32 am
by Arold Aroldson
Why 4+1.0f doesn't print 5.0f ?

Re: About Question enthuware.ocajp.i.v8.2.1277 :

Posted: Mon Oct 29, 2018 1:54 am
by admin
The string printed by the print method is actually generated using Float's toString. It doesn't append the letter f. You may go through the description of this method to see how exactly it generates the string.

Re: About Question enthuware.ocajp.i.v8.2.1277 :

Posted: Wed Oct 31, 2018 2:48 am
by jamesrogan
i just like :)