Dan01 wrote:
How do I set a variable to a number which has more than 1 decimal place. So instead of 1.0 I see 1.000001 for example.
Well, you can use the Say block...it shows more decimal places. Or, what I usually do, is use Kevin Karplus's Print Decimal project which stamps the numbers out.
http://scratch.mit.edu/projects/kevin_karplus/2951
Offline
Paddle2See wrote:
Dan01 wrote:
How do I set a variable to a number which has more than 1 decimal place. So instead of 1.0 I see 1.000001 for example.
Well, you can use the Say block...it shows more decimal places. Or, what I usually do, is use Kevin Karplus's Print Decimal project which stamps the numbers out.
http://scratch.mit.edu/projects/kevin_karplus/2951
Do you know of any quicker ways, as printing each digit is a bit slow and saying the number is only 2 decimal places.
Offline
Yeah...thats one of the things thats one of the downsides of scratch...I hope they atleast fix it. But as far as I know, inside the actual scratch program it does use all decimal places.
Offline