devxlogo

Explore a Few Math Functions in SQL Server

There are a number of math functions in T-SQL. Here are a few of them:

SELECT SQRT(49) --Gives 7, Square RootSELECT PI() --Gives 3.14 .... PISELECT ROUND(15.30, 0) --Gives 15. Rounds a numberSELECT CEILING(49.32) --Gives 50. Finds the next highest Integer valueSELECT FLOOR(49.32) --Gives 49. Finds the next lowest Integer value

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.