CRESS-Surrey / eXtraWidgets

An extension for creating additional interface tabs in the NetLogo GUI and putting custom widgets on them.
MIT License
13 stars 4 forks source link

Something is wrong with the sliders data model... #105

Closed nicolaspayette closed 10 years ago

nicolaspayette commented 10 years ago

(In the TELL ME model:)

(JobThread) SEE-DISTANCE/VALUE := 3.0
(JobThread) TRAVEL-RATE/VALUE := 0.3
(JobThread) TRAVEL-SHORT/VALUE := 0.85
(JobThread) PROP-SOCIAL-MEDIA/VALUE := 0.7
(JobThread) PROP-IN-TARGET/VALUE := 0.1
(JobThread) PROP-HCW/VALUE := 0.05
(AWT-EventQueue-0) TRAVEL-RATE/VALUE := 0.25
(AWT-EventQueue-0) PROP-SOCIAL-MEDIA/VALUE := 0.65

0.3 and 0.7 get rewritten as 0.25 and 0.65.

Some floating point mischief?