Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use DIV for short.

Example

 
Code Block
// Divide PI by 3 
Val1 = "3.1415926535897932384626433832795" 
Val2 = "3" 
Result = SRP_Math("DIVIDE", Val1, Val2) 
!! Result = 1.04719755119659774615421446109316 !! 
 

...

Code Block
// Divide the 3/6/08 national debt by the estimated population 
Debt = "9382669724008.03" 
Population = "303574006" 
Result = SRP_Math("DIV", Debt, Population) 
!! Result = 30907.3555000227193365165790907670797 !!