Issue with converting to long on Linux systems. Float is better suited all around.