skip to main | skip to sidebar

The Journey of Two Blind Devs

We are two developers on the journey to discovering Ruby on Rails. On the way, we hope to learn lots and track our findings. By the end, we hope to be enlightened.

Tuesday, May 27, 2008

Comma Separated Numbers

I found a neat little function that will separate large numbers by thousands using a comma or any specified delimiter:

http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#M000997

Gotta love RoR... they simplify everything!


W
Posted by Two Blind Devs at 3:36 AM
Labels: Likes, Solutions, Views, W

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

  • ActiveRecord
  • Controllers
  • CSS
  • Database
  • Debugging
  • Deployment
  • Dislikes
  • Gedit
  • Git
  • IE Sucks
  • Introduction
  • J
  • JavaScript
  • Likes
  • linux
  • Miscellaneous
  • Plugins
  • Prototype
  • RadRails
  • Rails 2.0
  • REST
  • Ruby
  • Setup
  • Solutions
  • Testing
  • TwoBlindFish
  • Views
  • VMWare
  • W

Links We Like

  • Aptana Documentation Wiki
  • assert* functions
  • Named Routes
  • Prototype API
  • Railscasts
  • RESTful Cheatsheet
  • RestWiki
  • RoR API
  • RoR RESTful Development
  • Script.aculo.us
  • Y Combinator

Blog Archive

  • ▼  2008 (119)
    • ►  December (1)
    • ►  November (2)
    • ►  October (7)
    • ►  September (25)
    • ►  August (1)
    • ►  July (5)
    • ►  June (3)
    • ▼  May (14)
      • Comma Separated Numbers
      • Ubuntu: .docx files
      • Remote Host Identification has Changed
      • Time Ago
      • Software Freedom Day
      • Alternating Table Row Colours
      • VMware Server: Adding a new HDD
      • Ubuntu + Compiz Fusion plugins
      • Support ODF
      • Favicon
      • Ubuntu + Ekiga
      • CSS: z-index
      • Deployment: Part 3
      • VMware on Hardy
    • ►  April (11)
    • ►  March (12)
    • ►  February (23)
    • ►  January (15)
  • ►  2007 (29)
    • ►  December (6)
    • ►  November (5)
    • ►  October (18)