Properties
Category
Polish
Statistics
Comments
2
Participants
3
Subscribers
3
Votes
1
Views
234
Share
Answered
Chcę użyć przycisku, by losowało mi współrzędne kartezjańskie danego punktu. Obydwie współrzędne z zakresu (-6,6) mogą być liczbami całkowitymi jak i "połówkami". Czy tak powinien wyglądać skrypt:
B=(6-floor(24random())/2; 6-floor(24random())/2);
?
Niestety po wylosowaniu pokazują mi się dowolne liczby.
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2021 International GeoGebra Institute
you can use RandomBetween(-12, 12) / 2
6-floor(24random())/2 is not -6
Please post your .ggb file
you can use RandomBetween(-12, 12) / 2
6-floor(24random())/2 is not -6
Comments have been locked on this page!