Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 26th, 2018
94
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
function calculate_savings(cost, sale) {
cost *= 100;
sale *= 100;
return ((cost - sale) / 100).toFixed(2);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 39 sec ago | 1.23 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 8 min ago | 0.39 KB
Untitled
YAML | 9 min ago | 2.25 KB
Untitled
C++ | 16 min ago | 0.92 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 17 min ago | 0.38 KB
Mad
PHP | 55 min ago | 0.04 KB
Untitled
Python | 1 hour ago | 3.04 KB
data906
JSON | 1 hour ago | 0.64 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!