Macro to Function Issue

Hey guys!

I have recently needed to convert a macro into a function to save nodes in a rather large blueprint I have. The blueprint is basically a text editor for 3D letters. The problem I am having is that all the math seems to work very differently in a function than it did in a macro. Anyone else have that experience?

Here is the Macro math.

Here is the Function math.(Identical)
082c3060e80ffcc5e0b6a082876c5f6675bc9eee.jpeg

Here is the results.
afef2941736a45b616d34463f4a4a284ee774cf8.jpeg

Both are supposed to say ‘ABC’

Any and all ideas are welcomed.