Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <div className="col-md-8">
  2. {(total_star / total_user).substring(0,2)}
  3. </div>
  4.  
  5. TypeError: (total_star / total_user).substring is not a function
  6.  
  7. (total_star / total_user).toFixed(2);
  8.  
  9. (total_star / total_user).toString().substring(0,2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement