Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ComPlat
ela2
Commits
e09b9ba2
Commit
e09b9ba2
authored
Mar 02, 2020
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/lib/sample_pdf.rb
View file @
e09b9ba2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment