devxlogo

June 9, 1997

Parse string to float or double

Question: Is there a command Float.parseNumbers(s) that returns a float? Answer: Sure, parseInt(s) is simply: Integer temp = Integer.valueOf(s); int x = temp.intValue();which has an equivalent for floats Float temp

Documenting the contents of a .PBL file

Question: Is there a third-party tool (or a functionalitynative to PB) with which I can print the *entire*contents of a .PBL file, preferablyin a way that’s meaningful? I have in