Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql percentage with % rounded down

SELECT CONCAT(ROUND(smallerNum*100/biggerNum, 2), '%') FROM table
 
PREVIOUS NEXT
Tagged: #sql #percentage #rounded
ADD COMMENT
Topic
Name
8+2 =