Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Maketime function has a strange behavior ...

Hi,

I'm experiencing issues with the maketime function in the script (Qv 11) :

- maketime(7,((7.6-7)*60)) results in NULL (instead of 07:36:00)

- maketime(7,((7.5-7)*60)) results un 07:30:00

Do you have any idea ?

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Maketime needs integers as arguments. Apparently (7.6-7)*60 isn't quite 36. If you use round((7.6-7)*60) it does work.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

Maketime needs integers as arguments. Apparently (7.6-7)*60 isn't quite 36. If you use round((7.6-7)*60) it does work.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks a lot, I didn't even think about it ... thanks again !