CPfToLinear

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

CPfToLinear


 

Convert the power factor value back to its original value.

 


syntax

CPfToLinear(

         value,

         min,

         max

         [,type = 5]

         [,bPercent = TRUE]

         )

 


Parameters

 

value

 

Type:

Number

 

Power factor value.

 

min

 

Type:

Number

 

The minimum of the original values.

 

max

 

Type:

Number

 

The maximum original value.

 

type

 

Type:

Number

 

Power factor type (specify 0 or 5).

0: Power factor expressed as -0 to 1 to +0

5: Power factor expressed as -0.5 to 1 to +0.5

 

bPercent

 

Type:

Boolean

 

When TRUE, the conversion is performed assuming that the power factor value is in %.

 

Return Value

 

 

Type:

Number

 

Original price.

 


hmtoggle_plus1Explanation

 

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference