Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 12890

calculated field with decimal place

$
0
0

Hello,

if I create calculated field in a table using formula e.g., ColumnName/ 60, where format of ColumnName is INT (total ammount of minutes)  in order to get hours, I get only integer part, not decimal. E.g., 80 (minutes)/60 =1.3333 but, in calculated field I see only 1 hrs without possibility to change format of the field.

Can calculated field be used on this way? (My wish  is to get 1.3 in that field)

How?

Thanks


Viewing all articles
Browse latest Browse all 12890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>