Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI
0

Pls someone explain..?

float a= 2.5f; double b= 2.5; Both values are same...???

javascriptjavachallenges
8th Nov 2020, 3:31 AM
WarLord
WarLord - avatar
1 Antwoord
+ 1
Though you should always avoid this kind of comparison, here is a clear explanation on why is it so. https://stackoverflow.com/questions/7392167/comparing-float-and-double-primitives-in-java
8th Nov 2020, 3:55 AM
Avinesh
Avinesh - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Need help
1 Votes
Salut tout le monde
2 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Hello !
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes