×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: aa aa
Added: Dec 9, 2021 7:51 AM
Views: 602
Tags: no tags
  1. double decimal = (Math.random()*10)+1;
  2.                
  3.                 double decimalR = Math.round(decimal*100.0)/100.0;
  4.                
  5.                 eva[i][j] = decimalR;