Quartz Composer JavaScript Reference © Cybero Designs  

toExponential

Type Method
Format number.toExponential( [fractionDigits] )
Commentary
Returns a string representing the number in exponential notation. Sets the number of digits before and after the decimal point.
Sample code - QC 2 JavaScript
n = inputs [0]. toExponential (3);
outputs [0] = n;
Sample code - QC 3 JavaScript
function (__string outputNumber) main (__number inputNumber[2])
{
var result = new Object();
n = inputNumber[0].toExponential(3);
result.outputNumber = n;
return result;
}

Return to the Start Page