Created
March 4, 2013 20:39
-
-
Save superscott/5085435 to your computer and use it in GitHub Desktop.
remove formatting on numbers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example:: v.first == "1,000" or v.first == "$15,000.00" | |
<td> | |
<div> | |
<span title=<%= !v.first.nil? ? v.first.gsub(',', '') : nil %>></span> | |
<% v.each do |col_value| %> | |
<%= col_value %> | |
<% end %> | |
</div> | |
</td> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment