public class FortranFormat extends Object
A modified version of the
atof method provided in the Core Java
books by Cay S. Horstmann & Gary Cornell. The main difference
here is that we scan for Fortran double precision characters
('D' and 'd') which often cause the C versions of atof to
|Constructor and Description|
|Modifier and Type||Method and Description|
Converts a string of digits to an double.
public static double atof(String s)
s- a string denoting a double
Copyright © 2021. All rights reserved.