Discuss Scratch

creater365
Scratcher
37 posts

Math Calculation Error

My browser / operating system: Windows NT 10.0, Chrome 80.0.3987.149, No Flash version detected

The “addition,” operator seems to malfunction for decimal numbers. I entered “0.2 + 0.02,” and it outputed 0.210000000000002. Here is a picture:
Picture

Last edited by creater365 (April 6, 2020 01:51:00)


creater365✔️
apple502j
Scratcher
1000+ posts

Math Calculation Error

Not a bug: see https://0.30000000000000004.com/ for more details

OSS Contributor & Translator of Scratch 3.0, Experienced Wikian @ enwiki, Admin @ jawiki
51 Pull Requests merged to LLK repository since April 4, 2018
Speaks English & Japanese

Scratch 3.0のOSS貢献者と翻訳者、英語版ウィキでExperienced Wikian、日本語版管理者
2018年4月4日から、51本のPRがいままでにLLKリポジトリにマージされました
日本語+英語

Powered by DjangoBB

Standard | Mobile