Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

cdfEnableScaleFactorRetentionForZero

cdfEnableScaleFactorRetentionForZero(
)
=> t 

Description

Lets you retain the unit scale factor for a CDF parameter if its specified default value is 0 followed by the scale factor. This is possible only when the scale factor for a unit type is set to auto.

By default, in such cases, the value of the CDF Parameter is converted to 0.

Arguments

None

Value Returned

t

Retains the unit scale factor for a CDF parameter if its specified default value is 0 followed by the scale factor.

Examples

The cdfFormatFloatString function in the following example returns 0u when called after the cdfEnableScaleFactorRetentionForZero funtion.

cdfEnableScaleFactorRetentionForZero()
cdfFormatFloatString("0u" "auto") => "0u"

Related Topics

cdfFormatFloatString


Return to top
 ⠀
X