Sets or gets the notation in which to display the real and imaginary parts of the
complex number.
Possible Values:
'default'
- decimal notation, e.g. '330000 - 200i'
'exponential'
, e.g. '3.3e+5 - 2e+2i'
'scientific'
, e.g. '3.3×10⁵ - 2×10²i'
'engineering'
, e.g. '330×10³ - 200×10⁰i'
Code example
Set the decimalNotation
property.
$("#jqxComplexInput").jqxComplexInput({ decimalNotation: "exponential" });
Get the decimalNotation
property.
var decimalNotation = $('#jqxComplexInput').jqxComplexInput('decimalNotation');