Radius Value X2 HELP PLZ

What i am trying to do is multiply my spinner value by 2,
So if i put 5 in my spinner and press the button "ON1" it multiplies my spinner value which is 5 by 2 and my radius becomes 10 instead of 5 any help would be appreciated

Thanks In advance

my script
---------------------------

spinner spn2 "mm " pos:[160,120] width:60 height:16 range:[00,100.0,0.0]
button ON1 images:#("ON1.bmp", "ALL.bmp", 1, 1, 1, 1, 1)pos:[5,5] width:45 height:45

On ON1 pressed do
(
(
Circle radius:spn2.value pos:[0,0,0] isSelected:on
)
)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Marco Brunetta's picture

Circle radius:(spn2.value*2)

Circle radius:(spn2.value*2) pos:[0,0,0] isSelected:on

Mrjacks2o's picture

Thanks allot for the help

Thanks allot for the help Works great :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.