Author Topic: Simple math using Scalascript  (Read 676 times)

Offline Roger.Dean

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Simple math using Scalascript
« on: September 03, 2013, 01:54:15 PM »
I want to be able to perform simple math functions on variables using Scalascript but cannot find any documentation anywhere. For example, I want to divide one variable by another and obtain a result as a percentage. I would have thought I could do this:

Result = !((Variable1/Variable2)*100);

But no luck. Any ideas anyone? And also, if there is a cheat sheet of simple Scalascript functions (not the syntax, something more detailed) then I would be very happy to hear about it.


Roger Dean