Dear all,

I'm trying to display the degree symbol (the one used for temperature
or latitude/longitude coordinates).

I tried to use 167.chr , but the output on the website is '?'.

Code:    degrees = [number_with_precision(degrees, precision=0),
167.chr, " ", number_with_precision(minutes, precision=0), "' ",
number_with_precision(decimal_seconds, precision=2), '"']

HTML Output: 37? 32' 55.51"

Any ideas ?

Thanks,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to