Type Conversion in For Each Row

another approach but, that’s way too much for a single conversion

This answer from @andrzej.kniola is a good way to understand that generic can be used for primitive types.

regards