i have simple problem i am having time in double format i.e 1.20 hr. 2.30 hr. 3.40 hr.
i want to add them as hours of time not as floating numbers ie to base 60 . for example
1.20+2.30+3.40=7.30 hrs -- correct
1.20+2.30+3.40=6.90 incorrect
i want it in both sql and c# , currently i am using custom made function fr both side . i want know any easiest way to do it.
if i am storing it in wrong format so please tell me how to do this right way, basically i am getting difference between two datetimes as float number . all possible solutions are welcome