Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

rounding to two decimal places

var numb= 212421434.533423131231;
var rounded = Math.round((numb + Number.EPSILON) * 100) / 100;
console.log(rounded);
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #rounding #decimal #places
ADD COMMENT
Topic
Name
1+7 =