IScriptEngine.DisableFloatNarrowing Property |
Enables or disables floating point narrowing.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntaxbool DisableFloatNarrowing { get; set; }
Property DisableFloatNarrowing As Boolean
Get
Set
property bool DisableFloatNarrowing {
bool get ();
void set (bool value);
}
abstract DisableFloatNarrowing : bool with get, set
Property Value
Boolean
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