Please edit your post and use the code button (Alt+S) when pasting code.
EDIT your original post, please do not just post the code correctly in a new post.
You are using StringSplit() with a double, not a string. This is no good at all as you cannot guarantee that a double will have the number of decimal places that you may expect.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.