Odd thing happening here. The following code:
works in a playground but doesn't in a class. It crashes with EXC_BAD_INSTRUCTION.
Any ideas why? Alternatively, how do I get a string of the above
Thanks in advance!
Edit: I need the result as Int, so 1402324472549 and not 1402324472549.64, for example.