• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 1

Is this statement correct? float f = (float)1.4;

javafloat
26th Jan 2021, 8:49 AM
Alrabab Saeed
Alrabab Saeed - avatar
2 Respostas
+ 3
Yep. float f = 1.4f; Does the same thing.
26th Jan 2021, 8:55 AM
XXX
XXX - avatar
+ 3
Ya it is about type casting.
26th Jan 2021, 11:15 AM
Kalindu Pro Max

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
When your heart are gone
1 Votes
Hi im a begneer and i dont understand how to code if anyone whos smart replay
1 Votes
I dont know what i should do with java script
0 Votes
i want correct anwer code
0 Votes
Where do I find saved code?
1 Votes
Python question
1 Votes
I am a beginner here
1 Votes
SVG Animation: Container Problems - Any Suggestions?
0 Votes
In data science, which part is easy to learn and which is hard, and why? Which part is most important to data science?
1 Votes
Hello everyone, umm i downloaded this app today , and I am a bit confused about this
0 Votes