ajstickland
MIS
Hi
I have been looking all over Cyrstal help and internet to find the solution to this problem:
I need to remove decimals from the value in a variable so that I can use the below code to convert minutes into hours:
If HourRem <> 00 then 1/(60/HourRem);
For example 0.30 = 1/(60/HourRem = 30) = 0.5.
I know in SqlServer this function is called Convert.ToDecimal if that is of any help? I have also looked at the date and time functions and these do not help either.
Has anyone got any ideas?
Thanks for your help.
I have been looking all over Cyrstal help and internet to find the solution to this problem:
I need to remove decimals from the value in a variable so that I can use the below code to convert minutes into hours:
If HourRem <> 00 then 1/(60/HourRem);
For example 0.30 = 1/(60/HourRem = 30) = 0.5.
I know in SqlServer this function is called Convert.ToDecimal if that is of any help? I have also looked at the date and time functions and these do not help either.
Has anyone got any ideas?
Thanks for your help.