We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Parsing doble precision numbers from a text file
Page Index Toggle Pages: 1
Parsing doble precision numbers from a text file (Read 445 times)
Parsing doble precision numbers from a text file
Oct 1st, 2008, 12:54pm
 
Hi there,

I was wondering if anyone can help me with a problem. I am working with timestamp data from a text file that is represented as a double precision number. is there a toDouble() function that I can use to parse the number and use in Processing? if not can anyone suggest a workaround?

Thanks,

Erica.
Re: Parsing doble precision numbers from a text fi
Reply #1 - Oct 1st, 2008, 4:00pm
 
double d=Double.parseDouble("3.14159");
Re: Parsing doble precision numbers from a text fi
Reply #2 - Oct 1st, 2008, 4:12pm
 
thank you!
Page Index Toggle Pages: 1