summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/go-cn.html.markdown
diff options
context:
space:
mode:
authorqlikwer <qlikwer@gmail.com>2024-02-12 17:18:44 +0500
committerGitHub <noreply@github.com>2024-02-12 13:18:44 +0100
commit3914133997b74a9fedf402d2cf345125f0c59ca0 (patch)
tree3536e6b50e921118e918479799ab4db905ff9549 /zh-cn/go-cn.html.markdown
parent1c33cd1a9a09b310937f753920ccd149550a71c2 (diff)
corrected an error in the number pi (#4839)
* Update go-de.html.markdown corrected an error in the number pi * Update go.html.markdown corrected an error in the number pi * Update go-pt.html.markdown corrected an error in the number pi * Update go-hu.html.markdown corrected an error in the number pi * Update go-cn.html.markdown corrected an error in the number pi * Update go-kr.html.markdown corrected an error in the number pi * Update go-ca.html.markdown corrected an error in the number pi * Update go-es.html.markdown corrected an error in the number pi * Update go-fi.html.markdown corrected an error in the number pi * Update go-fr.html.markdown corrected an error in the number pi * Update go-ru.html.markdown corrected an error in the number pi * Update go-it.html.markdown corrected an error in the number pi * Update go.html.markdown corrected an error in the number pi
Diffstat (limited to 'zh-cn/go-cn.html.markdown')
-rw-r--r--zh-cn/go-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/go-cn.html.markdown b/zh-cn/go-cn.html.markdown
index 0123c0a6..8afacf2a 100644
--- a/zh-cn/go-cn.html.markdown
+++ b/zh-cn/go-cn.html.markdown
@@ -78,7 +78,7 @@ func learnTypes() {
// 非ascii字符。Go使用UTF-8编码。
g := 'Σ' // rune类型,int32的别名,使用UTF-8编码
- f := 3.14195 // float64类型,IEEE-754 64位浮点数
+ f := 3.14159 // float64类型,IEEE-754 64位浮点数
c := 3 + 4i // complex128类型,内部使用两个float64表示
// var变量可以直接初始化。