Is it possible to use Ruby number formatting (such as sprinf or other?) to format floats with spaces after every 3 decimal places?
1.5 => 1.5
1.501 => 1.501
1.501001 => 1.501 001
1.501001001 => 1.501 001 001
Is there another easy way to do it?
Working in Ruby, not Rails.