Page History
...
It's a minor difference to be sure, but using ROUND is arguably more readable.
Example
Code Block |
---|
// Round PI to 5 decimal places Val = "3.1415926535897932384626433832795" Result = SRP_Math("ROUND", Val, 5) !! Result = 3.14159 !! |
...
Code Block |
---|
// Round PI to 4 decimal places Val = "3.1415926535897932384626433832795" Result = SRP_Math("ROUND", Val, 4) !! Result = 3.1416 !! |
...