You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Returns the value without performing any calculations.

Syntax

Result = SRP_Math("NONE", Value, "", DecimalPlaces, ScientificNotation)

Returns

Value.

Remarks

The NONE operation returns Value without performing any calculations. This operation is useful if you wish to format a number without changing it. For example, you could use it to convert a number into scientific notation.

Example

 
// Format the 3/6/08 national debt into scientific notation 
Val = "9382669724008.03"  
Result = SRP_Math("NONE", Val, "", -1, 1) 
!! Result = 9.38266972400803E+12 !! 
 
 
// Now, convert it back to fixed point format 
Result = SRP_Math("NONE", Result) 
!! Result = 9382669724008.03 !!

 

 

  • No labels