In my app I have a func that either returns int or double. There probably shouldn\'t be any issue with converting Int to Double but I\'m wondering whether there is a way to make