Commit e09b9ba2 authored by pei-chi.huang's avatar pei-chi.huang
Browse files

Merge branch '27-difference-on-download-pdf-should-multiply-100' into 'init19'

Resolve "difference on download pdf should multiply 100"

Closes #27

See merge request !18
parents cefb2977 7898da12
......@@ -114,7 +114,7 @@ class SamplePdf < Prawn::Document
elsif e == 0
'NaN'
else
"%.2f" % ((m - e).abs/e).round(2)
"%.2f" % ((m - e).abs/e * 100).round(2)
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment