mirror of
				https://gitea.invidious.io/iv-org/invidious.git
				synced 2024-08-15 00:53:41 +00:00 
			
		
		
		
	Fix engagement
Engagement was calculated as 0-1 but displayed as a percentage
This commit is contained in:
		
							parent
							
								
									489d0151ad
								
							
						
					
					
						commit
						9ae18b0b3b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -764,7 +764,7 @@ struct Video | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|   def engagement : Float64 |   def engagement : Float64 | ||||||
|     ((likes + dislikes) / views).round(4) |     (((likes + dislikes) / views) * 100).round(4) | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|   def reason : String? |   def reason : String? | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue