Precision loss in calculation

Thank you Grumpy_Mike for your reply and thank you very much for the code examples kg4wsv.

It has worked now with both casting and multiplying the value. :slight_smile: