当前位置:网站首页>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边栏推荐
- seata 1.3.0 四种模式解决分布式事务(AT、TCC、SAGA、XA)
- Deeply understand the characteristics of database transaction isolation
- Seata 1.3.0 four modes to solve distributed transactions (at, TCC, Saga, XA)
- Typescript interface inheritance
- Simple and easy to modify spring frame components
- SQL Server 知识汇集9 : 修改数据
- Project ERROR: Unknown module(s) in QT: core gui
- Rolling puddle Uni_ App (VIII)
- [recommendation system 01] rechub
- SQL Server knowledge gathering 9: modifying data
猜你喜欢

Use load_ decathlon_ Datalist (Monai) fast loading JSON data

BUUCTF---Reverse---reverse1

Deep understanding of Apache Hudi asynchronous indexing mechanism

seata 1.3.0 四种模式解决分布式事务(AT、TCC、SAGA、XA)
![[actual combat] transformer architecture of the major medical segmentation challenges on the list --nnformer](/img/de/0cf12132216ffbde896a7b12022184.png)
[actual combat] transformer architecture of the major medical segmentation challenges on the list --nnformer

Shardingsphere sub database and table examples (logical table, real table, binding table, broadcast table, single table)

【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
![1323: [example 6.5] activity selection](/img/2e/ba74f1c56b8a180399e5d3172c7b6d.png)
1323: [example 6.5] activity selection

Online hard core tools

What are the contents of the intermediate soft test, the software designer test, and the test outline?
随机推荐
打算参加安全方面工作,信息安全工程师怎么样,软考考试需要怎么准备?
Transaction rolled back because it has been marked as rollback-only解决
Some online academic report websites and machine learning videos
uniCloud
Mpx 插件
Poj1821 fence problem solving Report
Unity script visualization about layout code
【PyTorch 07】 动手学深度学习——chapter_preliminaries/ndarray 习题动手版
Find the greatest common divisor and the least common multiple (C language)
What does intermediate software evaluator test
Schnuka: machine vision positioning technology machine vision positioning principle
The difference between monotonicity constraint and anti monotonicity constraint
枪出惊龙,众“锁”周之
软考一般什么时候出成绩呢?在线蹬?
Use of dotween
"Dream Cup" 2017 Jiangsu information and future primary school summer camp it expert PK program design questions
【C#】WinForm运行缩放(变糊)的解决方法
Unity script generates configurable files and loads
CSAPP bomb lab parsing
Use load_ decathlon_ Datalist (Monai) fast loading JSON data