Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript toPrecision() Method

let x = 9.656;
x.toPrecision();
x.toPrecision(2);
x.toPrecision(4);
x.toPrecision(6);
 
PREVIOUS NEXT
Tagged: #javascript #Method
ADD COMMENT
Topic
Name
8+4 =