Click or drag to resize

ScriptEngineDisableFloatNarrowing Property

Enables or disables floating point narrowing.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public bool DisableFloatNarrowing { get; set; }

Property Value

Boolean

Implements

IScriptEngineDisableFloatNarrowing
Remarks
When this property is set to true, no attempt is made to convert floating-point values imported from the script engine to the narrowest equivalent .NET representation. The default behavior is more likely to result in successful method binding in specific scenarios, so setting this property to true is not recommended.
See Also