I am a Scala noob. I am converting a python script to Scala. In one of my routine I am reading from a CSV file. The column is in scientific notation format. My code in python is:
"%i" % float(line[USER_ID]) where line[USER_ID] = "9.04E09"
This converts to "9040000000"
. How do I do this in Scala?