实数
From Valve Developer Community
<
Zh
Jump to navigation
Jump to search
实数
是一种可以存储整数和小数的
变量
类型(例如
float
(
en
)
和double类型)。
使用实数的缺点在于它比
integer
(
en
)
类型占用更多存储空间,适用于需要高精度的数值计算场景,例如:
坐标点(图表或地图)
距离测量
其他需要精确测量的数值
Category
:
Zh/Variables
Hidden categories:
Chinese
Zh/Translation
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
View source
View history
More
Purge
Search
Navigation
Main Page
Source SDK index
Recent changes
Random page
Workshop
Half-Life SDK
Half-Life: Alyx Tools
Dota 2 Tools
SteamVR Tools
Counter-Strike 2 Tools
Support
Community portal
Getting help
Source SDK FAQ
Level Design FAQ
Steam Community
Source SDK Hub
Source SDK Discussion
Steam
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information