It was brought to my attention that the converted started returning "Infinity" after implementing the GetPrice() function. According to the link below, I believe the issue is that the method is returning Null or another Null-like value.
Please let me know if anyone has any ideas about why this may be.
Until this is fixed, I am commenting out the call for GetPrice() and hardcoding the value 35 for proof of functionality. Once GetPrice() returns a number value, we can easily swap it back.
It was brought to my attention that the converted started returning "Infinity" after implementing the GetPrice() function. According to the link below, I believe the issue is that the method is returning Null or another Null-like value.
Link to a similar issue: https://stackoverflow.com/questions/56543209/why-does-this-calculation-return-infinity
Please let me know if anyone has any ideas about why this may be.
Until this is fixed, I am commenting out the call for GetPrice() and hardcoding the value 35 for proof of functionality. Once GetPrice() returns a number value, we can easily swap it back.