I searched the documentation and everything and can’t find a simple
method for number formatting. Any links?
thanks for your help.
I searched the documentation and everything and can’t find a simple
method for number formatting. Any links?
thanks for your help.
Ben J. wrote:
I searched the documentation and everything and can’t find a simple
method for number formatting. Any links?thanks for your help.
Use ri to look up printf, sprintf, and String#%
On Aug 21, 2006, at 2:27 PM, Ben J. wrote:
I searched the documentation and everything and can’t find a simple
method for number formatting. Any links?
Do you know how C formatting works? The Ruby printf methods work the
same way. The details are given with:
ri Kernel#sprintf
Hi,
I searched the documentation and everything and can’t find a simple
method for number formatting. Any links?
Something like this?
http://www.rubycentral.com/ref/ref_m_kernel.html#sprintf
Thorsten Broken Social Scene: It’s all gonna
break
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs