当前位置:网站首页>When initializing 'float', what is the difference between converting to 'float' and adding 'f' as a suffix?
When initializing 'float', what is the difference between converting to 'float' and adding 'f' as a suffix?
2022-07-07 11:01:00 【Zafo】
problem :
What is the difference between What's the difference?
float f = (float) 99.32 ;and and
float f = 99.32f ;Both of them compiled and ran successfully. They all compiled successfully and ran successfully .
Solution :
Reference resources : https://stackoom.com/en/question/2F9PY边栏推荐
- PHP \ newline cannot be output
- The eighth training assignment
- 滚动踩坑--UNI_APP(八)
- ADB utility commands (network package, log, tuning related)
- Seata 1.3.0 four modes to solve distributed transactions (at, TCC, Saga, XA)
- Arduino board description
- Deep understanding of Apache Hudi asynchronous indexing mechanism
- TypeScript 接口继承
- How to play video on unityui
- shardingsphere分库分表示例(逻辑表,真实表,绑定表,广播表,单表)
猜你喜欢

“梦想杯”2017 年江苏省信息与未来小学生夏令营 IT 小能手 PK 之程序设计试题

JSON format query of MySQL

Operation method of Orange Pie orangepi 4 lts development board connecting SATA hard disk through mini PCIe

Find the greatest common divisor and the least common multiple (C language)

软考中级,软件设计师考试那些内容,考试大纲什么的?
![[pro test feasible] error while loading shared libraries solution](/img/e2/688ffa07861f38941cbf2cafdd9939.png)
[pro test feasible] error while loading shared libraries solution
![[recommendation system 01] rechub](/img/92/c14c867247d3a042c69b5ed0091fbe.png)
[recommendation system 01] rechub

如何顺利通过下半年的高级系统架构设计师?

Unable to open kernel device '\.\vmcidev\vmx': operation completed successfully. Reboot after installing vmware workstation? Module "devicepoweron" failed to start. Failed to start the virtual machine

【亲测可行】error while loading shared libraries的解决方案
随机推荐
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
Records on the use of easyflash v3.3
The difference between monotonicity constraint and anti monotonicity constraint
How much review time does it usually take to take the intermediate soft exam?
What are the test preparation materials and methods for soft exam information processing technicians?
The eighth training assignment
The fifth training assignment
2022年上半年5月网络工程师试题及答案
SQL Server 知识汇集9 : 修改数据
2022.7.6DAY598
2021 summary and 2022 outlook
Monai version has been updated to 0.9. See what new functions it has
Deep understanding of Apache Hudi asynchronous indexing mechanism
How to play video on unityui
Multithreaded asynchronous orchestration
Openinstall and Hupu have reached a cooperation to mine the data value of sports culture industry
Operation method of Orange Pie orangepi 4 lts development board connecting SATA hard disk through mini PCIe
深入理解Apache Hudi异步索引机制
A case of compiling QT file qmake compiling script
P1031 [noip2002 improvement group] average Solitaire