New topic: 

Problem Multiplying

<http://forums.realsoftware.com/viewtopic.php?t=38417>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        S.Rampling          Post subject: Problem MultiplyingPosted: Thu 
Mar 31, 2011 1:01 am                         
Joined: Sat Jan 08, 2011 4:47 pm
Posts: 225
Location: Sydney, Australia                I am trying to multiply 2 numbers 
and display the result, but the following code is not working properly, can 
anyone see a fault with it, I think the multiplier symbol is wrong, but not 
sure..Code:  dim slickstotal as double
  slicksTotal = val(txtslicks.text)
  slicksTotal = slickstotal  x val(txtslicksvalue.text)
  txtslickstotal.text = format(slicksTotal,"0.00")Thanks Shane.      
_________________
Thanks to any and all who can help with my limited knowledge of Real Studio.
54YO Kart Racer from Sydney Australia
Real Studio 2010r5.1 Win 7  
                             Top                 timhare          Post subject: 
Re: Problem MultiplyingPosted: Thu Mar 31, 2011 2:41 am                         
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 9597
Location: Portland, OR  USA                The multiplication symbol is asterisk

a = b * c   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to