Since the script doesn’t support a {cast:true} feature, I had to create my own function. I figure this is a pretty common use case so easier for all to use similar formula: