Javascript Function To Convert Integer To Double In Fortran