Function doesn't work

BlitzPlus Forums/BlitzPlus Programming/Function doesn't work

Well if it doesn't find a decimal point then Z is -1 I think. There for X is -2, and that would explain your problem. But I'm just guessing.