beetlebailey
Programmer
Trying to use the following SQL query:
Select Hour1/cast((Tact1 as decimal)*100) as PCT1 or
Select Hour1/cast((Tact1 as float)*100) as PCT1
both of which return 76.923076923076934
My question is why cannot I get rid of the extra decimal points ? I would like it to be just 76.92%
Select Hour1/cast((Tact1 as decimal)*100) as PCT1 or
Select Hour1/cast((Tact1 as float)*100) as PCT1
both of which return 76.923076923076934
My question is why cannot I get rid of the extra decimal points ? I would like it to be just 76.92%