FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   http://proce55ing.net/reference/nf_.html
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: http://proce55ing.net/reference/nf_.html  (Read 250 times)
pollux

WWW Email
http://proce55ing.net/reference/nf_.html
« on: Apr 30th, 2003, 9:43pm »

http://proce55ing.net/reference/nf_.html
 
float d = 200.94, e = 40.2, f = 9.012;  
String sd = nf(a, 10, 4);  
println(sd);  // prints "0000000200.9400"  
String se = nf(b, 5, 3);  
println(se);  // prints "00040.200"  
String sf = nf(c, 3, 5);  
println(sf);  // prints "090.01200"
 
the letter for the floats in the string command is not the same as the first statement
 

pollux | www.frwrd.net
pollux

WWW Email
Re: http://proce55ing.net/reference/nf_.html
« Reply #1 on: Apr 30th, 2003, 9:46pm »

btw, kudos on the new reference section!
 

pollux | www.frwrd.net
REAS

WWW
Re: http://proce55ing.net/reference/nf_.html
« Reply #2 on: May 5th, 2003, 7:07pm »

OK. Fixed now. Thank you.
 
Pages: 1 

« Previous topic | Next topic »