Code: Select all
put fld "someField" into tSomeVar
put (tSomeVar*.0825) into tSomeVar
put the round of (tSomeVar,2) into tSomeVar
Thanks my LC peeps...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
put fld "someField" into tSomeVar
put (tSomeVar*.0825) into tSomeVar
put the round of (tSomeVar,2) into tSomeVar
Code: Select all
put the round of (tSomeVar,2) into tSomeVar
Code: Select all
put round(tSomeVar,2) into tSomeVar
I spewed coffee out my nose on this one!!! Awesome!FourthWorld wrote: Why? One can only assume it's because the original inventors of HyperTalk may have had an unresolved drinking issue.![]()
Code: Select all
on mouseUp
put fld "someField" into tSomeVar
put (tSomeVar*.0825) into tSomeVar
put round(tSomeVar,2) into tSomeVar
put tsomevar
end mouseUp