timscronin
MIS
Has anyone attempted to convert in TSQL inches to Feet and inches. For example take 74 inches and convert to 6ft 2 inches? I was thinking about a case but that seems a little cumbersome
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECLARE @inches int
SET @inches = 74
SELECT CAST((@inches / 12) AS varchar(10)) + ' ft '
+ CAST((@inches % 12) AS varchar(10)) + ' in'