Difficulty value: remove rounding
This commit is contained in:
		
							parent
							
								
									fbb4ba39c2
								
							
						
					
					
						commit
						9913254a5c
					
				@ -259,7 +259,7 @@ export class HashrateChartComponent implements OnInit {
 | 
				
			|||||||
                difficultyString = `${tick.marker} ${tick.seriesName}: No data<br>`;
 | 
					                difficultyString = `${tick.marker} ${tick.seriesName}: No data<br>`;
 | 
				
			||||||
              } else {
 | 
					              } else {
 | 
				
			||||||
                difficultyPowerOfTen = selectPowerOfTen(tick.data[1]);
 | 
					                difficultyPowerOfTen = selectPowerOfTen(tick.data[1]);
 | 
				
			||||||
                difficulty = Math.round(tick.data[1] / difficultyPowerOfTen.divider);
 | 
					                difficulty = tick.data[1] / difficultyPowerOfTen.divider;
 | 
				
			||||||
                difficultyString = `${tick.marker} ${tick.seriesName}: ${formatNumber(difficulty, this.locale, '1.2-2')} ${difficultyPowerOfTen.unit}<br>`;
 | 
					                difficultyString = `${tick.marker} ${tick.seriesName}: ${formatNumber(difficulty, this.locale, '1.2-2')} ${difficultyPowerOfTen.unit}<br>`;
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            } else if (tick.seriesIndex === 2) { // Hashrate MA
 | 
					            } else if (tick.seriesIndex === 2) { // Hashrate MA
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user