﻿<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.yfrobot.com.cn/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
		<id>https://www.yfrobot.com.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=Floating_point_constants%EF%BC%88%E6%B5%AE%E7%82%B9%E5%9E%8B%E5%B8%B8%E9%87%8F%EF%BC%89</id>
		<title>Floating point constants（浮点型常量） - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="https://www.yfrobot.com.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=Floating_point_constants%EF%BC%88%E6%B5%AE%E7%82%B9%E5%9E%8B%E5%B8%B8%E9%87%8F%EF%BC%89"/>
		<link rel="alternate" type="text/html" href="https://www.yfrobot.com.cn/wiki/index.php?title=Floating_point_constants%EF%BC%88%E6%B5%AE%E7%82%B9%E5%9E%8B%E5%B8%B8%E9%87%8F%EF%BC%89&amp;action=history"/>
		<updated>2026-04-07T04:01:46Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://www.yfrobot.com.cn/wiki/index.php?title=Floating_point_constants%EF%BC%88%E6%B5%AE%E7%82%B9%E5%9E%8B%E5%B8%B8%E9%87%8F%EF%BC%89&amp;diff=1606&amp;oldid=prev</id>
		<title>Allblue：以“和整型常量类似，浮点常量可以使得代码更具可读性。浮点常量在编译时被转换为其表达式所取的值。  &lt;font color=&quot;orange&quot; size=&quot;&quot;...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="https://www.yfrobot.com.cn/wiki/index.php?title=Floating_point_constants%EF%BC%88%E6%B5%AE%E7%82%B9%E5%9E%8B%E5%B8%B8%E9%87%8F%EF%BC%89&amp;diff=1606&amp;oldid=prev"/>
				<updated>2017-09-10T08:43:46Z</updated>
		
		<summary type="html">&lt;p&gt;以“和整型常量类似，浮点常量可以使得代码更具可读性。浮点常量在编译时被转换为其表达式所取的值。  &amp;lt;font color=&amp;quot;orange&amp;quot; size=&amp;quot;&amp;quot;...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;和整型常量类似，浮点常量可以使得代码更具可读性。浮点常量在编译时被转换为其表达式所取的值。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;orange&amp;quot; size=&amp;quot;&amp;quot;&amp;gt;'''例子'''&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;color:dimgray&amp;quot;&amp;gt;&lt;br /&gt;
n = .005; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
浮点数可以用科学记数法表示。'E'和'e'都可以作为有效的指数标志。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;color:dimgray&amp;quot;&amp;gt;&lt;br /&gt;
浮点数		被转换为		被转换为&lt;br /&gt;
10.0 		10&lt;br /&gt;
2.34E5		2.34 * 10^5		234000&lt;br /&gt;
67E-12		67.0 * 10^-12	        0.000000000067&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Arduino语法参考 | 返回Arduino语法参考列表]]&lt;br /&gt;
&lt;br /&gt;
更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛]&lt;/div&gt;</summary>
		<author><name>Allblue</name></author>	</entry>

	</feed>