This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-23 11:01:24

kanatan
Scratcher
Registered: 2010-06-13
Posts: 6

Is there a problem in numerical value recognition?

To person who understands Japanese.
At first I'm Japanese.
If Japanese is for the person who is not readable, I put an English sentence under the Japanese.
Because I am weak in English, please permit that I do that it becomes a strange English sentence and reach it.
In addition, I translate some English sentences using translation function of Yahoo! Translation.
-------------------------------------------------------------------------------------------------------------------------
数値認識に問題あり? 
Is there a problem in numerical value recognition?

私はScratch1.4を日本語表記で使用しています。
I use Scratch1.4 in Jpanese notation.
<wait(  )secsc>の数値に1.61や1.84などを入れると、1.6099999... や1.8399999...となってしまいます。
If I input 1.61 or 1.84 into value of <wait(  )secsc>, value of <wait(  )secsc> will become 1.6099999... or 1.839999... .
<wait(  )secsc>↓
<wait( 1.61 )secsc>→<wait( 1.609999 )secsc>
<wait( 1.84 )secsc>→<wait( 1.8399999 )secsc>
これってバグですよね?
Is this the bug?

Offline

 

#2 2011-04-23 11:03:41

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Is there a problem in numerical value recognition?

Scratch does have a couple odd quirks with numbers like that. I'm not entirely sure why it does, but yes, it happens.  hmm


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-04-23 12:14:39

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Is there a problem in numerical value recognition?

Your english is quite well.  smile

Like Harakou said, this is a little bug in Squeaks number system. Sometimes, it rounds the number down or up for no reason.


Hai.

Offline

 

#4 2011-04-23 19:02:39

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Is there a problem in numerical value recognition?

fg123 wrote:

Your english is quite well.  smile

Your English could be better - you should have said "your English is quite good". xD  tongue   smile
...
There was a topic a while ago about how Scratch sometimes can't store numbers accurately... unfortunately, I can't find the topic  sad  I think this is a similar case though.

Last edited by Jonathanpb (2011-04-23 19:03:09)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#5 2011-04-24 20:52:07

kanatan
Scratcher
Registered: 2010-06-13
Posts: 6

Re: Is there a problem in numerical value recognition?

英語は・・・ほんと苦手です。

わからないとすぐ翻訳サイトに頼ってしまって・・・;

-------------------------------------------------------------------------------------------------------------------------
このような話は以前にもあったんですね。
That story had ever been spoken by this form.
このような症状はバグであり、私だけのことではないと。
That symptom is the bug. And, it doesn't happen only to me.
原因がわからないとのことですけれど、Scratch1.5だか2が出れば改善されてますかね?
Though you do not seem to understand a cause, is it improved if Scratch1.5 or 2 appears?
私は、いつか改良版が出てこういうことが改善されていることを願います。
I hope that an improved version appears before us sometime, and such a thing is improved.

Offline

 

#6 2011-04-24 21:11:09

kanatan
Scratcher
Registered: 2010-06-13
Posts: 6

Re: Is there a problem in numerical value recognition?

あ。 はじめを訳すのを忘れてました・・・;
Oh. I forget to translate begining...;

英語は・・・ほんと苦手です。
I'm ... really weak in English.
わからないとすぐ翻訳サイトに頼ってしまって・・・;
I depend on the translation site as soon as do not understand it...;

Offline

 

#7 2011-04-27 16:12:42

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Is there a problem in numerical value recognition?

kanatan wrote:

英語は・・・ほんと苦手です。

わからないとすぐ翻訳サイトに頼ってしまって・・・;

-------------------------------------------------------------------------------------------------------------------------
このような話は以前にもあったんですね。
That story had ever been spoken by this form.
このような症状はバグであり、私だけのことではないと。
That symptom is the bug. And, it doesn't happen only to me.
原因がわからないとのことですけれど、Scratch1.5だか2が出れば改善されてますかね?
Though you do not seem to understand a cause, is it improved if Scratch1.5 or 2 appears?
私は、いつか改良版が出てこういうことが改善されていることを願います。
I hope that an improved version appears before us sometime, and such a thing is improved.

さて、このグリッチが本当に問題はない、この場合には、3.0999999は3.1秒で類似しています。

Offline

 

Board footer