Skip to content

Commit

Permalink
fix: sigfigs on table
Browse files Browse the repository at this point in the history
  • Loading branch information
akeshavan committed Jan 19, 2018
1 parent 0a0d266 commit f724628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/api/table_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ get_qc_ave_field = function(entry_type, field_name, title){
}
//console.log(class_mapper[realval], val_mapper[realval])
if (realval >= 0){
html = '<span class="'+class_mapper[realval]+'">'+val_mapper[realval]+'</span>'
html = '<span class="'+class_mapper[realval]+'">'+d3.format('.2f')(val_mapper[realval])+'</span>'
}
else {
html = '<a class="'+class_mapper[realval]+' filter '+entry_type+'+'+field_name+'+'+val+'">'+val_mapper[realval]+'</a>'
Expand Down

0 comments on commit f724628

Please sign in to comment.